1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: sungta <tadinhsung@gmail.com>
Date: Wed, 12 Jul 2017 16:35:36 +0700
Subject: [1/8] Update dom.c
Origin: https://github.com/shlomif/perl-XML-LibXML/commit/729cb0f96a4c7c4d5c885f3d699fe587edb30cab
Bug-Debian: https://bugs.debian.org/866676
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2017-10672
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=122246
---
dom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dom.c b/dom.c
index 87eb61d..10eb33d 100644
--- a/dom.c
+++ b/dom.c
@@ -798,7 +798,7 @@ domReplaceChild( xmlNodePtr self, xmlNodePtr new, xmlNodePtr old ) {
return NULL;
if ( new == old )
- return new;
+ return NULL;
if ( new == NULL ) {
/* level2 sais nothing about this case :( */
--
2.15.0.rc2
|