variables that were not initialized in the case where neither FILE nor
SNAME were suitable for option overloading. The result is a memset-to-zero
stack smash under the right conditions.
thanks to all of these good people here, both for working on the code
and for prodding me into improving it.
+ Changes since 3.0.2rc2
+
+- A bug introduced in 3.0.2b1 in the DHCP Option Overloading support
+ bugfix was repaired. This bug only surfaces in the case where neither
+ the FILE nor SNAME fields are available for overloading.
+
Changes since 3.0.2rc1
- allocate_lease() was rewritten to repair a bug in which the server would
#ifndef lint
static char copyright[] =
-"$Id: options.c,v 1.85.2.23 2004/10/04 23:38:04 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
+"$Id: options.c,v 1.85.2.24 2004/11/12 22:08:19 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#define DHCP_OPTION_DATA
int need_endopt = 0;
int have_sso = 0;
int ocount = 0;
- int ofbuf1, ofbuf2;
+ int ofbuf1=0, ofbuf2=0;
memset (&ds, 0, sizeof ds);