[Bug 1082229] [NEW] pyvorbis segfault invalid free

EliotBlennerhassett eliot at blennerhassett.gen.nz
Fri Nov 23 02:14:31 UTC 2012


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
Foundations Bugs, which is subscribed to pyvorbis in Ubuntu.
https://bugs.launchpad.net/bugs/1082229

Title:
  pyvorbis segfault invalid free

Status in “pyvorbis” package in Ubuntu:
  New

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

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




More information about the foundations-bugs mailing list