Public bug reported:

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...

** Affects: pyvorbis (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Correctly delete object if ogg file can't be opened"
   
https://bugs.launchpad.net/bugs/1082229/+attachment/3441630/+files/pyvorbisfile.c.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082229

Title:
  pyvorbis segfault invalid free

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyvorbis/+bug/1082229/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to