Commit Graph

22 Commits

Author SHA1 Message Date
christos 8de5cf0e33 Coverity CID 2639: Fix obvious bug in loop handling. Using and freeing the
wrong pointer.
2006-04-02 01:10:39 +00:00
drochner 9fbefaf7c9 merge dhcp-3.0.3 2005-08-11 17:13:21 +00:00
drochner 1b6f9e91ef import ISC dhcp-3.0.3 onto the vendor branch 2005-08-11 16:54:17 +00:00
lukem 7f4d732106 appease gcc -Wuninitialized 2005-06-02 11:10:00 +00:00
lukem 51d9d5224b omapi_io_destroy(): ensure last is initialized before use, similar to the
method used in omapi_unregister_io_object().
Detected with gcc -Wuninitialized
2005-06-02 11:09:02 +00:00
lukem 8fe660271c Ensure name_str is initialized because we try to free it later.
Detected with gcc -Wuninitialized.
2005-06-02 05:33:01 +00:00
lukem edd6967461 Sanity checking. Detected with gcc -Wuninitialized 2005-06-02 05:30:12 +00:00
dsl cfe7f80ff0 Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
agc 865595bdf3 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22253, verified by myself.
2003-08-07 09:20:39 +00:00
drochner b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
thorpej eb4df29507 Avoid strict alias warnings. 2002-12-06 04:09:30 +00:00
wiz 67e1c672d0 'comparison', not 'comparision' (hi Matthias!) 2002-06-11 15:22:57 +00:00
drochner 15dd275fb1 some more:
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 15:16:28 +00:00
drochner c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
drochner 0fbf47fd83 import of ISC dhcp-3.0.1rc9 2002-06-11 12:24:31 +00:00
itojun 5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
bjh21 913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
martin 3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
drochner 6c1ac34eb0 remove .cvsignore files which got imported inadvertently, as pointet
out by Ben Harris
2001-08-07 08:31:16 +00:00
drochner e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00