DragonFly kernel List (threaded) for 2005-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]