[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: P Vixie
Subject: Re: [Nmh-workers] strncpy(3), die, die, die.
Date: Mon, 24 Oct 2016 18:59:36 +0000

On October 24, 2016 6:37:16 PM GMT+02:00, Ken Hornstein <address@hidden> wrote:

>I dunno, I think we'd need to think carefully if a particular use of
>strncpy() really warrants an abort vs a truncate.  I mean, just
>out on a really long line that other MUAs handle just fine seems rather
>unfriendly to me.  What do others think?

Copy or die, as the default behavior.

Silent truncation should require explicit coding.

Strlcpy is completely bogus.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]