After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581612 - use %s to printf string
use %s to printf string
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Reported: 2009-05-06 16:02 UTC by Christian Persch
Modified: 2009-06-04 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---

patch (6.01 KB, patch)
2009-05-06 16:03 UTC, Christian Persch
none Details | Review
more fixes (10.14 KB, patch)
2009-05-06 16:13 UTC, Christian Persch
none Details | Review

Description Christian Persch 2009-05-06 16:02:51 UTC
Otherwise the compile complains about it when using -Wformat-security .
Comment 1 Christian Persch 2009-05-06 16:03:47 UTC
Created attachment 134112 [details] [review]
Comment 2 Christian Persch 2009-05-06 16:13:59 UTC
Created attachment 134113 [details] [review]
more fixes
Comment 3 Daniel Veillard 2009-06-04 09:26:19 UTC
Right, this makes sense from a compiler perspective,
though those strings are for the most part based on
a predefined set, but some of them could have some
user input.

  Thanks a lot for the patch, applied and commited to git head !