GNOME Bugzilla – Bug 674789
xmllint --pretty crashed without following numeric argument
Last modified: 2013-08-29 08:47:00 UTC
Running "xmllint --pretty" with/without input crashes. Possibly a cmdline parameter parse problem, as --pretty should take a numeric argument. This bug was originally reported at Ubuntu bug tracker, trace information are avaliable: https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/923671
Created attachment 252780 [details] [review] Check for null before calling atoi
Indeed, makes sense https://git.gnome.org/browse/libxml2/commit/?id=2205ff4b0d4a70ed986f28b27c4a2037f6f0af1f Patch pushed to git, thanks Tim ! Daniel