diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-04 16:30:32 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-04 16:30:32 +0000 |
commit | 372de71a1f6df161218c7135f9b4af3119869c99 (patch) | |
tree | c4e0b1cb7834151482f95ac2f89f1d8949cc0ae3 /msg.c | |
parent | 32a4ca3304119eb074869dfc61f272cde0dc0380 (diff) | |
download | rsyslog-372de71a1f6df161218c7135f9b4af3119869c99.tar.gz rsyslog-372de71a1f6df161218c7135f9b4af3119869c99.tar.xz rsyslog-372de71a1f6df161218c7135f9b4af3119869c99.zip |
changed some calles to CStr class to their "safe" counterpart - they could
case program aborts if the object in question was an empty string
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1269,7 +1269,7 @@ char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe, assert(pTpe != NULL); pName = pTpe->data.field.pPropRepl; } else { - pName = (char*) rsCStrGetSzStr(pCSPropName); + pName = (char*) rsCStrGetSzStrNoNULL(pCSPropName); } *pbMustBeFreed = 0; |