Re: [PATCH] fix format security

Collin Funk <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.editors.poke.devel
Message-ID <[email protected]>
Bruno Haible <[email protected]> writes:

> Collin Funk wrote:
>> If that sounds okay, I'll figure out what version of GCC and Clang added
>> them and submit a patch.
>
> I've now fixed the warnings through these patches. Thanks for your help,
> Collin!

No problem and thanks for the patch!

The unfortunate part is that I noted this attribute a few months ago,
but didn't think it worked with Clang [1]. I must have missed that it
only occurs with NLS disabled and no format directives. Oh well, better
late than never.

Collin

[1] https://lists.gnu.org/archive/html/bug-gnulib/2026-01/msg00094.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.