]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix null pointer dereference.
authorTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:16:46 +0000 (03:16 +0000)
committerTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:16:46 +0000 (03:16 +0000)
common/execute.c

index 87df6cb4df4082c55e439cbedb22272fc383536e..955deb1829546a2578e732b6e61781486b2c3c2e 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: execute.c,v 1.19 1999/09/22 01:45:49 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: execute.c,v 1.20 1999/10/01 03:16:46 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -425,7 +425,7 @@ void write_statements (file, statements, indent)
                           error. */
                        if (r -> data.option -> option -> universe ==
                            &dhcp_universe) {
-                               t = (char *)0;
+                               t = "";
                                dot = "";
                        } else {
                                t = (r -> data.option -> option ->