Steve Dickson wrote:
> So I change the sprintf() to an snprintf() [2] guaranteeing no
> overflow and I got the same failure.

Not quite the same. It still doesn't know how long the string can be,
and so assumes that it can be too long, but after the change it warns
about truncation instead of overflow.

Björn Persson

Attachment: pgpkFWYt_eIDv.pgp
Description: OpenPGP digital signatur

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to