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/0013-Clear-up-a-potential-NULL-dereference.patch | |
parent | d5776bbf9d8842d931ab1112466d19685035281e (diff) | |
download | libxml2-4a5e25fad6693afda89b3826f73e83d826618863.tar.gz |
Remove no-longer-needed upstream patches
Diffstat (limited to 'debian/patches/0013-Clear-up-a-potential-NULL-dereference.patch')
-rw-r--r-- | debian/patches/0013-Clear-up-a-potential-NULL-dereference.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/0013-Clear-up-a-potential-NULL-dereference.patch b/debian/patches/0013-Clear-up-a-potential-NULL-dereference.patch deleted file mode 100644 index a18dfaf..0000000 --- a/debian/patches/0013-Clear-up-a-potential-NULL-dereference.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Daniel Veillard <veillard@redhat.com> -Date: Sat, 3 Aug 2013 22:25:13 +0800 -Subject: Clear up a potential NULL dereference - -https://bugzilla.gnome.org/show_bug.cgi?id=705399 - -if ctxt->node_seq.buffer is null then ctxt->node_seq.maximum ought -to be zero but it's better to clarify the check in the code directly. ---- - parserInternals.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/parserInternals.c b/parserInternals.c -index f8a7041..98a5836 100644 ---- a/parserInternals.c -+++ b/parserInternals.c -@@ -1990,7 +1990,8 @@ xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt, - - /* Otherwise, we need to add new node to buffer */ - else { -- if (ctxt->node_seq.length + 1 > ctxt->node_seq.maximum) { -+ if ((ctxt->node_seq.length + 1 > ctxt->node_seq.maximum) || -+ (ctxt->node_seq.buffer == NULL)) { - xmlParserNodeInfo *tmp_buffer; - unsigned int byte_size; - |