[Bug 789413] New: gst-plugins-good: atoms_recovery: Handled buffer mapping

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 24 14:49:30 UTC 2017


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

            Bug ID: 789413
           Summary: gst-plugins-good: atoms_recovery: Handled buffer
                    mapping
    Classification: Platform
           Product: GStreamer
           Version: 1.12.3
                OS: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kr.ashish at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Buffer mapping failure must be handled at below code:-
File: gst-plugins-good-1.12.3/gst/isomp4/atomsrecovery.c
Function: atoms_recov_write_ftyp_info
...
  if (prefix) {
    GstMapInfo map;

    gst_buffer_map (prefix, &map, GST_MAP_READ);
    if (fwrite (map.data, 1, map.size, f) != map.size) {
      gst_buffer_unmap (prefix, &map);
      return FALSE;
    }
    gst_buffer_unmap (prefix, &map);
  }
...

Failure of function gst_buffer_map must be handled.

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