diff options
author | Aron Xu <aron@debian.org> | 2014-10-26 07:04:07 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2014-10-26 07:04:07 +0800 |
commit | 4a5e25fad6693afda89b3826f73e83d826618863 (patch) | |
tree | 3c95fba1f4efbb63798bfa637bb6b335338cb1b0 /debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch | |
parent | d5776bbf9d8842d931ab1112466d19685035281e (diff) | |
download | libxml2-4a5e25fad6693afda89b3826f73e83d826618863.tar.gz |
Remove no-longer-needed upstream patches
Diffstat (limited to 'debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch')
-rw-r--r-- | debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch b/debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch deleted file mode 100644 index b910c3a..0000000 --- a/debian/patches/0015-xmllint-pretty-crashed-without-following-numeric-arg.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Tim Galeckas <tim@galeckas.com> -Date: Thu, 29 Aug 2013 16:44:33 +0800 -Subject: xmllint --pretty crashed without following numeric argument - -https://bugzilla.gnome.org/show_bug.cgi?id=674789 - -We need to check for NULL argument before calling atoi() ---- - xmllint.c | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/xmllint.c b/xmllint.c -index 92e6b03..d69722c 100644 ---- a/xmllint.c -+++ b/xmllint.c -@@ -3388,11 +3388,13 @@ main(int argc, char **argv) { - (!strcmp(argv[i], "--pretty"))) { - i++; - #ifdef LIBXML_OUTPUT_ENABLED -- format = atoi(argv[i]); -- if (format == 1) { -- noblanks++; -- xmlKeepBlanksDefault(0); -- } -+ if (argv[i] != NULL) { -+ format = atoi(argv[i]); -+ if (format == 1) { -+ noblanks++; -+ xmlKeepBlanksDefault(0); -+ } -+ } - #endif /* LIBXML_OUTPUT_ENABLED */ - } - #ifdef LIBXML_READER_ENABLED |