Sha256: 4a4f90651a1c82fcbde4651be40efd7baa19426b6302b40eaf985041dcb583c1

Contents?: true

Size: 732 Bytes

Versions: 62

Compression:

Stored size: 732 Bytes

Contents

From a976434b620a5d81a1cea8867ebc49d748c93a88 Mon Sep 17 00:00:00 2001
From: Nick Wellnhofer <wellnhofer@aevum.de>
Date: Mon, 5 Aug 2013 12:37:06 +0200
Subject: [PATCH 13/14] Memory leak in xsltCompileIdKeyPattern error path

Fix from bug #691548 by Vladimir Marek.
---
 libxslt/pattern.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libxslt/pattern.c b/libxslt/pattern.c
index a97726c..57f8b9f 100644
--- a/libxslt/pattern.c
+++ b/libxslt/pattern.c
@@ -1433,6 +1433,7 @@ xsltCompileIdKeyPattern(xsltParserContextPtr ctxt, xmlChar *name,
 	if (CUR != ',') {
 	    xsltTransformError(NULL, NULL, NULL,
 		    "xsltCompileIdKeyPattern : , expected\n");
+	    xmlFree(lit);
 	    ctxt->error = 1;
 	    return;
 	}
-- 
1.8.4.1

Version data entries

62 entries across 62 versions & 7 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.8.rc3 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.7.2 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.8.rc2 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.8.rc1 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.7.1 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.7 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.7.rc4 patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.6.4 ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.6.4-java ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
nokogiri-1.6.6.3 ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch