-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
FIX strncpy warning in apps/cmp.c. #12889
Conversation
bugfix: openssl#12872 strncpy here has compiling warning of -Wstringop-truncation, change into BIO_snprintf as before. Change-Id: I362872c4ad328cadd4c7a5a5da3165655fa26c0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(assuming that BIO_snprintf()
always terminates the string within the buffer with a \0
, even on error).
Thanks @xffbai for taking care of this. |
This also fixes Coverity CID 1466707:
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
Merged - thanks |
bugfix: #12872
strncpy here has compiling warning of -Wstringop-truncation, change into BIO_snprintf as before.
Checklist