Libnet
snprintf patches Mar 18 2005 12:12PM
Dunceor . (dunceor gmail com)
Hey all.
I just upgraded my old sparc box to OpenBSD 3.7-current and then (of
course) installed libnet from source (1.1.2.1).
OpenBSD have done some adds to gcc so that gcc warns you when sprint
is being used (just as they have done with strcpy, strcat and strcmp
before).
I then saw there is a few sprintf's in the code and I'd thought I'd patch them.
They arn't in anyway a security risk, I just think it's good
programming to use snprintf and Mike has used snprintf also but some
old sprintf's left.

Well a few patches there, feel free to use.

Thanks.

// Dunceor

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus