Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 160795
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vincent <leligeour@iie.cnam.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
smpeg-0.4.4-missing-init.patch smpeg-0.4.4-missing-init.patch patch Vincent 2007-01-07 22:47 0000 266 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 160795 depends on: Show dependency tree
Bug 160795 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-07 22:46 0000
When an non-openable file is given to SMPEG_new, it doesn't return a NULL
pointer (this is normal behavior) but the status MPEG class member is not
properly initialized. The SMPEG_delete on the object created will then segfault
because of a NULL pointer test not initialized.
(can be test with the current ultrastar-ng cvs version)

Reproducible: Always

Steps to Reproduce:
1.Create an SMPEG object with a non-existant file with SMPEG_new
2.Try to delete it with SMPEG_delete




Patched will be attached in the next comment

------- Comment #1 From Vincent 2007-01-07 22:47:42 0000 -------
Created an attachment (id=105957) [details]
smpeg-0.4.4-missing-init.patch

Compile fine and patch the bug (patch has been sent to the loki team)

------- Comment #2 From Mr. Bones. 2007-01-09 09:28:37 0000 -------
In portage.  Thanks for the bug report and patch.

It seems like a pretty obscure corner case so I didn't rev bump it.  Remerge
for the patch.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug