2009-01-26 13:17:25 -05:00
|
|
|
$OpenBSD: patch-src_state_c,v 1.3 2009/01/26 18:17:25 jasper Exp $
|
2005-02-28 08:30:07 -05:00
|
|
|
--- src/state.c.orig Mon Nov 3 22:19:54 2003
|
2008-10-12 13:36:03 -04:00
|
|
|
+++ src/state.c Sun Oct 12 17:01:58 2008
|
|
|
|
@@ -754,7 +754,7 @@ static void state_valueE(struct parser_context *ctx,
|
2005-02-28 08:30:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (n != NULL && v->type != 0) {
|
|
|
|
+ if (n != NULL && v != NULL && v->type != 0) {
|
|
|
|
char *ep;
|
|
|
|
|
|
|
|
assert(v);
|