[Bug 774112] New: mpdparser: MS PlayReady ContentProtection event is truncated

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 8 16:47:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774112

            Bug ID: 774112
           Summary: mpdparser: MS PlayReady ContentProtection event is
                    truncated
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: philn at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When the demuxer emits the protection event it uses strlen() to get the data
length but in some cases (PlayReady...) the data can have a \0 before the end
of the actual data.

The proposed fix is to store the base64 decoded_len in the descriptor and
fallback to strlen() in other cases.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list