[Bug 697970] the first gst printf bug (may it be the last)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 13 16:04:12 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=697970
  GStreamer | gstreamer (core) | git

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-04-13 23:04:09 UTC ---
<tim> hrm, it seems related to glibc having been compiled with
_FORTIFY_SOURCE=2 or something
<tim> you could try modifying gst/printf/gst-printf.h to #undef HAVE_SNPRINTF
then it might take a different code path
<ds> hrm, ok
<tim> not sure I understand the complaint yet
<ds> that does work around the problem
<tim> not sure if there's anything else we can do
<ds> I can't see how any libc function is called with %n
<tim> vasnprintf.c line 662
<tim> aiui it will do "%whatever%n", arg, &len  to determine the length
<tim> if HAVE_SNPRINTF is not defined, it will do a home-grown method to
determine the max length

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