Fix double free in patch for libxml 2.9.0 support
This commit is contained in:
parent
93d7c5ae6c
commit
c675b006aa
3 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.14 2012/11/07 15:31:23 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2012/12/15 15:29:28 manu Exp $
|
||||
#
|
||||
|
||||
PKGREVISION= 8
|
||||
PKGREVISION= 9
|
||||
|
||||
CONFIGURE_ARGS+= --disable-python
|
||||
CONFIGURE_ARGS+= --disable-php5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.13 2012/11/07 15:31:23 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.14 2012/12/15 15:29:28 manu Exp $
|
||||
|
||||
SHA1 (lasso-2.3.6.tar.gz) = 92689a873b83e02efb4a6c3a375f040a9e75c95c
|
||||
RMD160 (lasso-2.3.6.tar.gz) = 5e1aaba807d453c1fad28be6a8f06d908159b3fe
|
||||
|
@ -10,7 +10,7 @@ SHA1 (patch-docs-reference-lasso-lasso-sections.txt) = 9e6936b0c019b8fb8b9493f91
|
|||
SHA1 (patch-lasso-errors_c) = 5c0fe304cd9cce6d926362c248ffe60c2c7357c5
|
||||
SHA1 (patch-lasso-errors_c_in) = d4663edb280d38a0cb1a422d9b95b1d344012f63
|
||||
SHA1 (patch-lasso-id-ff-provider.c) = 9312c67a8e81eeea95b888745a2b9f504a36a36f
|
||||
SHA1 (patch-lasso-xml-tools.c) = b04540e06a2ef359972bdee3d8fdf7d11c355cc2
|
||||
SHA1 (patch-lasso-xml-tools.c) = 6ee2268747a4f84a0b9d3a53bfa260ab11ba8dfc
|
||||
SHA1 (patch-lasso_id-ff_lecp.c) = 90b0d3b06a6582f779706b671c497ad7a556a116
|
||||
SHA1 (patch-lasso_id-ff_session.c) = 839277d013e219c5ba91bae1ab75cef5d99d9286
|
||||
SHA1 (patch-lasso_saml-2.0_ecp.c) = cb946f383b9d3fed4ce794deb96a143077746a2c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-lasso-xml-tools.c,v 1.4 2012/11/07 15:31:23 joerg Exp $
|
||||
$NetBSD: patch-lasso-xml-tools.c,v 1.5 2012/12/15 15:29:28 manu Exp $
|
||||
|
||||
Patch from upstream to support libxml >= 2.9.0. From commit message:
|
||||
|
||||
|
@ -71,7 +71,7 @@ index c4b3c8a..cda8775 100644
|
|||
+ xmlNodeDumpOutput(output_buffer, NULL, xmlnode, 0, 0, NULL);
|
||||
+ xmlOutputBufferClose(output_buffer);
|
||||
+ xmlBufferAdd(buffer, BAD_CAST "", 1);
|
||||
+ lasso_release_xml_node(xmlnode);
|
||||
+
|
||||
+ in_len = strlen((char*)xmlBufferContent(buffer));
|
||||
ret = g_malloc(in_len * 2);
|
||||
/* deflating should never increase the required size but we are
|
||||
|
|
Loading…
Reference in a new issue