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

A potential NPE bug #3012

Closed
JulyChen728 opened this issue Apr 14, 2020 · 0 comments · Fixed by #3023
Closed

A potential NPE bug #3012

JulyChen728 opened this issue Apr 14, 2020 · 0 comments · Fixed by #3023

Comments

@JulyChen728
Copy link

Hi all,
our bug scanner has reported a NPE bug at BOMInputStream.java#L183.A possible call chain is find() => BOMInputStream.java#L207 => BOMInputStream.java#L218 => BOMInputStream.java#L183. Since the method find() may return null, a NPE bug may take place when the methodgetBOM() invokes its method equals() at BOMInputStream.java#L183.

Thanks.

nobodyiam added a commit to nobodyiam/apollo that referenced this issue Apr 18, 2020
@nobodyiam nobodyiam mentioned this issue Apr 18, 2020
4 tasks
nobodyiam added a commit that referenced this issue Apr 18, 2020
LimTerran added a commit to LimTerran/apollo that referenced this issue Apr 23, 2020
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 a pull request may close this issue.

1 participant