pyvorbis segfault invalid free

Bug #1082229 reported by EliotBlennerhassett on 2012-11-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyvorbis (Ubuntu)
Undecided
Unassigned

Bug Description

Ubuntu 12.04.1 LTS (I expect this problem persists in 12.10, but don't have that installed to test it)
Package python-pyvorbis 1.5-1ubuntu1

segfaults in py_file_new (When used by pytone app scanning for ogg files)

root cause is a mismatched pairing of PyMem_DEL with PyObject_NEW

Attached patch replaces PyMem_DEL with PyObject_Del, and incidentally PyObject_NEW with PyObject_New.

I have rebuilt and installed this package, and the segfault no longer occurs.

BTW I'm having a hard time figuring out where the ultimate upstream bugtracker resides...

The attachment "Correctly delete object if ogg file can't be opened" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers