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

Check pointer 'op' for NULL before dereferencing #42

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

pcolberg
Copy link
Contributor

---------------------------------------------------------------------------
181 (Local) src/acl_device_op.cpp:464 RNPD.DEREF (1:Critical) Analyze
Suspicious dereference of pointer 'op' before NULL check at line 467
  * acl_device_op.cpp:464: 'op' is dereferenced.
  * acl_device_op.cpp:467: 'op' is checked for NULL.
Current status 'Analyze'

Summary: 1 Local
1 Total Issue(s)

---------------------------------------------------------------------------
181 (Local) src/acl_device_op.cpp:464 RNPD.DEREF (1:Critical) Analyze
Suspicious dereference of pointer 'op' before NULL check at line 467
  * acl_device_op.cpp:464: 'op' is dereferenced.
  * acl_device_op.cpp:467: 'op' is checked for NULL.
Current status 'Analyze'

Summary: 1 Local
1 Total Issue(s)
@pcolberg pcolberg added this to the 2022.2 milestone Dec 13, 2021
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pcolberg !

@pcolberg pcolberg merged commit 82cddff into intel:main Dec 14, 2021
@pcolberg pcolberg deleted the check-pointer-op branch December 14, 2021 15:43
@sherry-yuan
Copy link
Contributor

Thank you Peter!

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.

3 participants