Mailinglist Archive: zypp-devel (58 mails)

< Previous Next >
Re: [zypp-devel] zypp fails to build with -Werror=format-security
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 2 Jun 2009 12:33:24 +0200
  • Message-id: <200906021233.25663.ma@xxxxxxx>
On Monday 01 June 2009 21:40:50 Cristian Rodríguez wrote:
Hi:

Subject says all, trying to build libzypp with -Werror=format-security
fails because there seem to be some format string issues..

can somebody please check it out ? ;-)

error: format not a string literal and no format arguments

2 locations use string formatting (sprintf) when no formatting is needed:

str::form (_("some dependency problem"));

I'll fix it.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References