URL:
<http://savannah.nongnu.org/support/?108736>
Summary: memory corruption after pskc_build_xml()
Project: OATH Toolkit
Submitted by: yarda
Submitted on: Fri 30 Jan 2015 01:39:20 PM GMT
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Details:
Original bug report including patch by the reporter (David Woodhouse):
https://bugzilla.redhat.com/show_bug.cgi?id=1129491
In short:
In pskc_build_xml() a new xmlDoc is built and the old one is freed, but there
are still references into the old xmlDoc.
According to David:
Actually, retaining the original xmldoc seems like a nice and simple approach.
Although it's not as efficient as fixing all the pointers up...
Attached is patch from David retaining the original xmldoc.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 30 Jan 2015 01:39:20 PM GMT Name:
oath-toolkit-2.4.1-retain-original-xmldoc.patch Size: 1kB By: yarda
Fix proposed by David Woodhouse
<http://savannah.nongnu.org/support/download.php?file_id=32947>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/support/?108736>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/