Current-Users archive

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

Re: Possible unsafe use of strncat in sbin/sysctl/sysctl.c

On Tue, Aug 23, 2011 at 09:58:53PM +0000, David Holland wrote:
>  > Some folks seems to (void)love it.
> Not that I know of...


Unlike others, I see the main benefit being related to human readers instead
of static analyzers. A hint that the return value is ignored on purpose,
which is often valuable, given that generally in C and/or system programming
the de facto rule is to always evaluate the return value.

- Jukka.

Home | Main Index | Thread Index | Old Index