Todd C. Miller wrote:
> On Mon, 24 Oct 2016 16:40:36 -0400, valdis.kletni...@vt.edu wrote:
> 
>> In other words - if the source string doesn't fit, it will create
>> a non-NULL-terminated destination string for you.  Repeat that,
>> slowly, until it sinks in.
> 
> It says nothing of the sort, please re-read the manual.  The source
> string doesn't fit the result is always NUL-terminated unless the
> specified size is 0.

it should just return a null string. partially useful results are bad.

-- 
P Vixie


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to