We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I'm reading things correctly, https://github.com/regehr/itc-benchmarks/blob/master/01.w_Defects/free_null_pointer.c is a test that a verifier complains about a free of a NULL pointer.
However, it's legal to call free on a NULL pointer; to quote "7.20.3.2 The free function" of http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf
free
If ptr is a null pointer, no action occurs
If so, are these tests requiring false positives? (or am I misunderstanding things?)
Hope this is constructive
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I'm reading things correctly, https://github.com/regehr/itc-benchmarks/blob/master/01.w_Defects/free_null_pointer.c is a test that a verifier complains about a free of a NULL pointer.
However, it's legal to call
free
on a NULL pointer;to quote "7.20.3.2 The free function" of http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf
If so, are these tests requiring false positives? (or am I misunderstanding things?)
Hope this is constructive
The text was updated successfully, but these errors were encountered: