[Bug 739844] examples: use snprintf instead of sprintf which is vulnerable

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 9 11:28:02 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739844
  GStreamer | gst-plugins-bad | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.5.1
            Summary|mpegtsmux-example: Use      |examples: use snprintf
                   |snprintf instead of sprintf |instead of sprintf which is
                   |for safety                  |vulnerable
           Severity|normal                      |minor

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-11-09 19:28:00 UTC ---
Thanks for the patch, but in this case I think the whole example should just be
removed:

commit f07de37ad181a6b106b2d0c2003a61ab14e711bc
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Nov 9 19:23:47 2014 +0000

    examples: remove pointless mpegtsmux example

    Serves no purpose, is not even hooked up to the
    build system, has hard coded file names and paths,
    and can easily be replaced with a gst-launch line.

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

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