[Libvir] PATCH: Avoid format string abuse (also avoids gcc warnings).
Daniel P. Berrange
berrange at redhat.com
Tue Nov 6 19:48:15 UTC 2007
On Tue, Nov 06, 2007 at 08:31:06PM +0100, Jim Meyering wrote:
> This patch was prompted by warnings like this:
>
> util.c:56: warning: format not a string literal and no format arguments
Hmm, what compiler version are you using ? I don't see those warnings when
I build. Or did you add extra compiler flags ? If the latter we should
make sure they're included in our default flag set so we don't reintroduce
similar flaws in the future.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the libvir-list
mailing list