mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 12:00:43 +01:00
bugfix: mmanon did not properly anonymize IP addresses starting with '9'
Thanks to defa-at-so36.net for reporting this problem. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=529
This commit is contained in:
parent
fe81f1c34b
commit
09e4d85360
@ -65,6 +65,9 @@ Version 7.6.4 [v7.6-stable] 2014-03-??
|
||||
This was a regression introduced some time in the past in order to
|
||||
support API changes in json-c. Now we check for the version and use
|
||||
proper code.
|
||||
- bugfix: mmanon did not properly anonymize IP addresses starting with '9'
|
||||
Thanks to defa-at-so36.net for reporting this problem.
|
||||
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=529
|
||||
---------------------------------------------------------------------------
|
||||
Version 7.6.3 [v7.6-stable] 2014-03-27
|
||||
- add capability to override GnuTLS path in build process
|
||||
|
||||
@ -282,7 +282,7 @@ anonip(instanceData *pData, uchar *msg, int *pLenMsg, int *idx)
|
||||
int endpos;
|
||||
int lenMsg = *pLenMsg;
|
||||
|
||||
while(i < lenMsg && (msg[i] <= '0' || msg[i] >= '9')) {
|
||||
while(i < lenMsg && (msg[i] <= '0' || msg[i] > '9')) {
|
||||
++i; /* skip to first number */
|
||||
}
|
||||
if(i >= lenMsg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user