Project

General

Profile

lasso.patch

Patch that fixed the segfault - Martin Schreiner, 01 February 2024 08:14 PM

Download (461 Bytes)

View differences:


  

lasso-2.8.2/lasso/xml/tools.c
1249 1249
	if (doc) {
1250 1250
		xmlRemoveID(doc, id_attr);
1251 1251
		xmlUnlinkNode(xmlnode);
1252
		lasso_release_doc(doc);
1253 1252
		xmlnode->parent = old_parent;
1254 1253
		xmlSetTreeDoc(xmlnode, NULL);
1254
		lasso_release_doc(doc);
1255 1255
	}
1256 1256
	lasso_release_signature_context(dsig_ctx);
1257 1257
	return rc;