Re: strcpy -> strlcpy?
On Monday 03 January 2005 03:11, Anil Madhavapeddy wrote:
> If you're interested, we've got some simple modifications in the OpenBSD
> gcc (both 2.95 and 3.3) which checks for these kinds of errors. It
> does need relevant functions like strlcpy(3) to be marked up with
> attributes to indicate which arguments are buffers and which are buffer
> sizes.
You could find some easy infos here:
http://www.onlamp.com/lpt/a/4676
討論串 (同標題文章)
完整討論串 (本文為第 4 之 13 篇):