This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SFCB - Small Footprint CIM Broker".
The branch, master has been updated
via c38977abeb45e3a2079bc9cdb4a5a0d29961bfd8 (commit)
from e8dc4e64ebba233deeffcc321e0e99a4ec3b0911 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c38977abeb45e3a2079bc9cdb4a5a0d29961bfd8
Author: Dave Heller <hel...@us...>
Date: Wed Feb 29 15:32:35 2012 -0500
[ 3495343 ] Bad pointer references in trace statements
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index 18b754e..a3b8743 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-29 Dave Heller <hel...@us...>
+
+ * cimslpSLP.c, indCIMXMLExport.c:
+ [ 3495343 ] Bad pointer references in trace statements
+
2012-02-28 Chris Buccella <buc...@li...>
* interopServerProvider.c
diff --git a/NEWS b/NEWS
index 76f6a1e..ebb631f 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Everything in 1.3.13 and 1.3.14, plus:
New features:
- 3441679 Add a feature to validate CMPI types
+Bugs fixed:
+- 3495343 Bad pointer references in trace statements
Changes in 1.4.2
================
diff --git a/cimslpSLP.c b/cimslpSLP.c
index f5b65eb..c7a1742 100644
--- a/cimslpSLP.c
+++ b/cimslpSLP.c
@@ -181,7 +181,7 @@ deregisterCIMService(const char *urlsyntax)
printf
("--- Error deregistering service with slp (%i) ... it will now timeout\n",
err);
- _SFCB_TRACE(4, ("--- urlsyntax: %s\n", urlsyntax));
+ _SFCB_TRACE(4, ("--- urlsyntax: %s\n", *urlsyntax));
}
SLPClose(hslp);
}
@@ -216,7 +216,7 @@ registerCIMService(cimSLPService css, int slpLifeTime, char **urlsyntax,
*urlsyntax = (char *) malloc(strlen(css.url_syntax) + 14); // ("service:wbem:"
// = 13) + \0
sprintf(*urlsyntax, "service:wbem:%s", css.url_syntax);
- _SFCB_TRACE(4, ("--- urlsyntax: %s\n", urlsyntax));
+ _SFCB_TRACE(4, ("--- urlsyntax: %s\n", *urlsyntax));
}
attrstring = malloc(sizeof(char) * SIZE);
diff --git a/indCIMXMLExport.c b/indCIMXMLExport.c
index fc67603..959c4e0 100644
--- a/indCIMXMLExport.c
+++ b/indCIMXMLExport.c
@@ -377,7 +377,7 @@ exportIndication(char *url, char *payload, char **resp, char **msg)
}
}
- _SFCB_TRACE(1, ("--- url: %s rc: %d %s", url, rc, msg));
+ _SFCB_TRACE(1, ("--- url: %s rc: %d %s", url, rc, *msg));
if (rc) {
mlogf(M_ERROR, M_SHOW,
"Problem processing indication to %s. sfcb rc: %d %s\n", url, rc,
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|