[Bug 730574] New: hlsdemux: Saving IV from media sequence number is done out of file->iv structure
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 22 04:05:08 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=730574
GStreamer | gst-plugins-bad | 1.3.2
Summary: hlsdemux: Saving IV from media sequence number is done
out of file->iv structure
Classification: Platform
Product: GStreamer
Version: 1.3.2
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: memento1987 at interia.pl
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
[10:59] <damianZiobro> hi I am analyzing code of hlsdemux and I found bug there
[10:59] <damianZiobro> in gst-plugins-bad version 1.3.2
[11:00] <damianZiobro> file ext/hls/m3u8.c line 352
[11:00] <damianZiobro> there is such code there:
[11:00] <damianZiobro> guint8 *iv = file->iv + 12;
GST_WRITE_UINT32_BE (iv + 12, file->sequence);
[11:00] <damianZiobro> so we are basically moving 12 bytes two times
[11:00] <damianZiobro> file->iv structure has 16 bytes
[11:01] <damianZiobro> so wile we are moving 12 bytes 2 times we are out of
structure which we are trying to write to
[11:01] <damianZiobro> I think it is bug
[11:01] <damianZiobro> moving 12 bytes should be done only once
SOLUTION:
Patch with the solution of this bug I pasted here:
http://pastebin.com/6APZeHar
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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