Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add length check in parseTag()'s loop #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

datastream
Copy link

avoid out of index error

avoid out of index error
@jeromer
Copy link
Owner

jeromer commented May 9, 2017

Can you please provide a test case for this ?

I'll merge your PR afterwards.

Thanks :)

@datastream
Copy link
Author

it seems some log from log4j's syslog, trigger this bug.

<155>May 11 10:02:11 127.0.0.1 java.lang.NullPointerException

@jeromer
Copy link
Owner

jeromer commented May 11, 2017

Ok, but can you write a unit test for this bug ?

Thanks :)

@datastream
Copy link
Author

I updated the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants