[Bug 731195] video: handle images that have bytes size above 2^31

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 9 20:01:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731195
  GStreamer | gst-plugins-base | unspecified

Thiago Sousa Santos <thiagossantos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gst-plugins-bad             |gst-plugins-base
   Target Milestone|HEAD                        |1.2.5
         OS/Version|Linux                       |All

--- Comment #21 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-06-10 03:01:02 UTC ---
Also available in the 1.2 stable branch, will be released in stable 1.2.5 and
the unstable 1.3.3 releases.

Thanks for reporting.

commit 4c31880bf0a4b720ab90fc8753fbbcc72275d6f8
Author: Thiago Santos <ts.santos at sisa.samsung.com>
Date:   Mon Jun 9 21:05:00 2014 -0300

    videoscale: vs_image: strides are a gsize

    The strides that are set from the GstVideoInfo structs are
    a gsize. Using an int can cause overflows when dealing with large
    enough images

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

commit b29adbaeaa78f642a1ade2ed83c38b8e8008d10d
Author: Thiago Santos <ts.santos at sisa.samsung.com>
Date:   Mon Jun 9 19:44:56 2014 -0300

    video: avoid overflows when doing int operations for size

    size is a gsize, so cast the operands to it to avoid overflows
    and setting wrong value to the video size.

    Includes tests.

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

-- 
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