Re: [iptables PATCH 20/28] Sanitize calls to strcpy()

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

 



Phil Sutter <phil@xxxxxx> wrote:
> - use snprintf(),
> - use strlcpy() from libbsd or
> - introduce a poor-man's strlcpy() macro/function.
> 
> What would you prefer? Leave everything as-is, one of the above or
> something completely different? :)

I don't really care that much, I'd avoid adding new dependency if possible.

Looks like this is a recurring issue so i'd probably go for 3).



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux