diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
commit | 40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch) | |
tree | d70bbf882801af3a4e58dde3ed6a1da1849479d4 /net/isc-dhcp40-server/files/patch-common::parse.c | |
parent | Fix the string format vulnerability desribed at (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Diffstat (limited to 'net/isc-dhcp40-server/files/patch-common::parse.c')
-rw-r--r-- | net/isc-dhcp40-server/files/patch-common::parse.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net/isc-dhcp40-server/files/patch-common::parse.c b/net/isc-dhcp40-server/files/patch-common::parse.c deleted file mode 100644 index 637d69e7f41b..000000000000 --- a/net/isc-dhcp40-server/files/patch-common::parse.c +++ /dev/null @@ -1,22 +0,0 @@ ---- common/parse.c.orig 2 Sep 2003 11:01:23 -0000 -+++ common/parse.c 22 Feb 2004 10:44:52 -0000 -@@ -414,6 +414,7 @@ - { - const char *val; - enum dhcp_token token; -+ int32_t num; - - token = next_token (&val, (unsigned *)0, cfile); - if (token != NUMBER) { -@@ -421,9 +422,9 @@ - skip_to_semi (cfile); - return; - } -- convert_num (cfile, (unsigned char *)timep, val, 10, 32); -+ convert_num (cfile, (unsigned char *)&num, val, 10, 32); - /* Unswap the number - convert_num returns stuff in NBO. */ -- *timep = ntohl (*timep); /* XXX */ -+ *timep = ntohl (num); - - parse_semi (cfile); - } |