-
Notifications
You must be signed in to change notification settings - Fork 711
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
pkcs15-openpgp.c: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 #1800
Comments
I'm not sure if this is correct, but it cleared the issue. The patch is against 0.19.0.
|
Seems this is a false positive, because
|
Thanks @popovec. One small comment:
When using |
Critical error- cannot be ignored, must be fixed by code change (to prevent code crash, wrong results etc..) The current code does not cause the program to crash or to generate wrong result.This is not critical error, disabling the format check is enough:
|
Problem Description
I'm performing a Sanitizer build. I configured with
-fsanitize=undefined
. Ultimately I want to runmake check
with instrumented binaries.I believe the sanitizers enable extra analysis, and I think that explains the finding below.
Proposed Resolution
Sorry, no suggestions for this one. I'm not familiar with OpenPGP and what it expects during initialization.
Steps to reproduce
My apologies if this is a false positive. If it is a false positive, then please suggest a workaround.
These may be helpful:
The text was updated successfully, but these errors were encountered: