After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 611782 - [regression] Segmentation fault in demuxers
[regression] Segmentation fault in demuxers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal blocker
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-04 07:58 UTC by Edward Hervey
Modified: 2010-03-04 08:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ffmpegdemux: Use av_free_packet. (1.10 KB, patch)
2010-03-04 07:59 UTC, Edward Hervey
none Details | Review

Description Edward Hervey 2010-03-04 07:58:55 UTC
The demuxers are using the 'old' way of freeing a AVPacket (pkt.destruct(&pkt)).

This behaviour has subtlely changed and pkt might be NULL, resulting in a segmentation fault.

We must use av_packet_free() to properly free them
Comment 1 Edward Hervey 2010-03-04 07:59:49 UTC
Created attachment 155209 [details] [review]
ffmpegdemux: Use av_free_packet.

Fixes #611782
Comment 2 Edward Hervey 2010-03-04 08:13:29 UTC
commit 7162290afe2de9982dcb9ef65c37cf68ba7484e7
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Thu Mar 4 08:58:36 2010 +0100

    ffmpegdemux: Use av_free_packet.
    
    Fixes #611782