[Bug 673436] New: mpegvideoparser: fix check for too small buffer
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Apr 3 07:10:46 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=673436
GStreamer | gst-plugins-bad | git
Summary: mpegvideoparser: fix check for too small buffer
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: prahal at yahoo.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=211225)
View: https://bugzilla.gnome.org/attachment.cgi?id=211225
Review: https://bugzilla.gnome.org/review?bug=673436&attachment=211225
mpegvideoparser: fix check for too small buffer
The check is against size which is removed the offset.
It fails if the result is 0 or negative. Though as size is
unsigned instead of becoming negative it wraps.
Use an intermediate signed variable to fix the check.
--
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