syslogparser
syslogparser copied to clipboard
add length check in parseTag()'s loop
avoid out of index error
Can you please provide a test case for this ?
I'll merge your PR afterwards.
Thanks :)
it seems some log from log4j's syslog, trigger this bug.
<155>May 11 10:02:11 127.0.0.1 java.lang.NullPointerException
Ok, but can you write a unit test for this bug ?
Thanks :)
I updated the patch.