[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OATH-Toolkit-help] [sr #108736] memory corruption after pskc_build_xml(
From: |
Jaroslav Škarvada |
Subject: |
[OATH-Toolkit-help] [sr #108736] memory corruption after pskc_build_xml() |
Date: |
Fri, 30 Jan 2015 13:39:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [OATH-Toolkit-help] [sr #108736] memory corruption after pskc_build_xml(),
Jaroslav Škarvada <=