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

[SDLe][Klocwork] Security vulnerabilities found by static code scan #98

Closed
5 tasks done
HongW2019 opened this issue Jul 23, 2021 · 2 comments · Fixed by #103
Closed
5 tasks done

[SDLe][Klocwork] Security vulnerabilities found by static code scan #98

HongW2019 opened this issue Jul 23, 2021 · 2 comments · Fixed by #103
Labels
bug Something isn't working

Comments

@HongW2019
Copy link
Contributor

HongW2019 commented Jul 23, 2021

  • Null pointer dereference of 'columnsLine' where null is returned from a method
  • Input stream 'new FileReader(...)' is not closed on exit.
  • Input stream 'new FileReader(...)' is not closed on exit.
  • Null pointer dereference of 'valuesLine' where null is returned from a method
  • Null pointer dereference of 'rowIndexLine' where null is returned from a method

image
image
image
image
image

@HongW2019
Copy link
Contributor Author

@xwu99 Please take a review and help fix, thanks!

@xwu99
Copy link
Collaborator

xwu99 commented Jul 26, 2021

I am cleaning code. some of the code is redundant.

@zhixingheyi-tian zhixingheyi-tian added the bug Something isn't working label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants