On Sun, Feb 23, 2014 at 08:54:34AM -0500, [email protected] wrote:
> I am seeing strange and questionable messages while attempting a compile
> and then test of GNU gettext 0.18.3.2 thus :
> 
> ../gnulib-lib/.libs/libgettextlib.so: warning: stpcpy() is dangerous GNU crap;
> don't use it
> ../gnulib-lib/.libs/libgettextlib.so: warning: strcpy() is almost always
> misused, please use strlcpy()
> ../gnulib-lib/.libs/libgettextlib.so: warning: strcat() is almost always
> misused, please use strlcat()
> ../gnulib-lib/.libs/libgettextlib.so: warning: sprintf() is often misused,
> please use snprintf()
> 
> 
> Are these messages coming from within the OpenBSD world ?
> 
> dc
> 

Very much so.

Check out http://www.gratisoft.us/todd/papers/strlcpy.html

Also do some searches on mailing lists, excellent messages about
subject.

And follow advice if you write any code.

Chris Bennett

Reply via email to