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 752329 - dashdemux: parser should reject MPD files with negative Period duration
dashdemux: parser should reject MPD files with negative Period duration
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-13 13:32 UTC by Florin Apostol
Modified: 2015-10-28 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (2.81 KB, patch)
2015-07-13 13:34 UTC, Florin Apostol
committed Details | Review

Description Florin Apostol 2015-07-13 13:32:57 UTC
If a negative value is provided for period duration, the parser will accept that and interpret it as an unsigned value. It should reject negative values for period duration
Comment 1 Florin Apostol 2015-07-13 13:34:40 UTC
Created attachment 307347 [details] [review]
proposed patch

attached unit test and proposed patch
Comment 2 Vincent Penquerc'h 2015-10-28 15:51:45 UTC
commit c763d1e8fd4188be683bd7fa08675dec494ef436
Author: Florin Apostol <florin.apostol@oregan.net>
Date:   Wed Oct 28 15:39:07 2015 +0000

    dashdemux: parser rejects XMLs with negative period duration
    
    https://bugzilla.gnome.org/show_bug.cgi?id=752329