Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Libnet
[Top] [All Lists]

snprintf patches

Subject: snprintf patches
Date: Fri, 18 Mar 2005 13:12:57 +0100
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

Attachment: libnet_build_gre.c.patch
Description: Text document

Attachment: libnet_build_ip.c.patch
Description: Text document

Attachment: libnet_link_bpf.c.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • snprintf patches, Dunceor . <=