diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 10:11:15 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 10:11:15 +0000 |
commit | 4a4dbe2c38ceac260d45f9d5627d3e9b065b01cc (patch) | |
tree | 068c4add42275156925754ca03110f2df9fb3e91 /parse.c | |
parent | c6b7ddd0cb671e5489b74afde82b01d7576c1e46 (diff) | |
download | rsyslog-4a4dbe2c38ceac260d45f9d5627d3e9b065b01cc.tar.gz rsyslog-4a4dbe2c38ceac260d45f9d5627d3e9b065b01cc.tar.xz rsyslog-4a4dbe2c38ceac260d45f9d5627d3e9b065b01cc.zip |
fixed a bug that could case host wildcards to become corrupted
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -426,7 +426,7 @@ rsRetVal parsAddrWithBits(rsParsObj *pThis, struct NetAddr **pIP, int *pBits) break; case EAI_NONAME: F_SET((*pIP)->flags, ADDR_NAME|ADDR_PRI6); - (*pIP)->addr.HostWildcard = strdup ((const char*)pszIP); + (*pIP)->addr.HostWildcard = strdup ((const char*)pszIP+1); break; default: free (pszIP); |