[gstreamer-bugs] [Bug 572256] New: gst/avi/gstavidemux.c: Alignment trap in gst_avi_demux_parse_odml() line 1270 (from git)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Feb 18 02:52:30 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=572256
GStreamer | gst-plugins-good | Ver: 0.10.21
Summary: gst/avi/gstavidemux.c: Alignment trap in
gst_avi_demux_parse_odml() line 1270 (from git)
Product: GStreamer
Version: 0.10.21
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: antoine.pelisse at sitcorp.eu
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Hi,
I am running gstreamer-0.10.21 with gst-plugin-good-0.10.10 on a da-vinci
dm6446 platform (arm9 processor).
I have had a crash (actually it crashes every time) on this line (in
gst_avi_demux_parse_odml()):
dmlh.totalframes = GUINT32_FROM_LE (_dmlh->totalframes);
It seems like _dmlh is rounded to 2 while acceeding an integer must have a
rounded to 4 address.
Replacing this line by:
dmlh.totalframes = GST_READ_UINT32_LE (&_dmlh->totalframes);
fixes the problem (GST_READ_UINT32_LE reads bytes by bytes and is thus correct
on unaligned address).
Is it the correct way to fix it or is there some other issue in my setup ?
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=572256.
More information about the Gstreamer-bugs
mailing list