DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: strcpy -> strlcpy?


From: Ed <df@xxxxxx>
Date: Mon, 3 Jan 2005 13:29:52 +0100

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





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