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

Fix format-truncation warning in GCC 8.2 and later. #461

Merged
merged 3 commits into from Mar 9, 2020

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Mar 6, 2020

Warning is erroneous, as the number of printed bytes is limited. Check
snprintf() return value to silence it.

This had been already fixed in the old openvas-libraries, but never backported to OpenVAS scanner.
Original patches from @kroosec are PR greenbone/gvm-libs#130 and greenbone/gvm-libs#148.

Warning is erroneous, as the number of printed bytes is limited. Check
snprintf() return value to silence it.
@jjnicola jjnicola merged commit 33771fa into greenbone:master Mar 9, 2020
@jjnicola jjnicola deleted the isotime-warn branch March 9, 2020 07:49
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.

None yet

2 participants