nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] strncpy(3), die, die, die.

2016-10-24 15:35:19


On October 24, 2016 9:08:22 PM GMT+02:00, "Anthony J. Bentley" 
<anthony(_at_)anjbe(_dot_)name> wrote:
P Vixie writes:

Strlcpy is completely bogus.

What's silent about strlcpy? Just check the return value against the
size
of the buffer.

I don't know what gcc or clang command line option to use to require this.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>