[Bug 795756] Compilation fails on GCC 8.0.1

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 4 07:31:32 UTC 2018


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

--- Comment #2 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 371655
  --> https://bugzilla.gnome.org/attachment.cgi?id=371655&action=edit
gst: Use memcpy() instead of strncpy() where appropriate

strncpy() is assumed to be for strings so the compiler assumes that
it will need an extra byte for the string-terminaning NULL.

For cases where we know it's actually "binary" data, just copy it
with memcpy.

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