This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix a bunch of print format errors in gcc-5


On Thu, Feb 12, 2015 at 03:38:55PM +0000, David Howells wrote:
> Here's a patch that inserts "%s", into a number of printf-format calls to
> avoid:
> 
> 	error: format not a string literal and no format arguments
> 	[-Werror=format-security]
> 
> and to avoid reads on uninitialised data should a string with one or more "%"
> in it be processed.

I wrote a ChangeLog entry for this and committed it for you.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]