Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/libexec/httpd/cgi-bozo.c,v rcsdiff: /ftp/cvs/cvsroot/src/libexec/httpd/cgi-bozo.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.25.2.7 retrieving revision 1.25.2.8 diff -u -p -r1.25.2.7 -r1.25.2.8 --- src/libexec/httpd/cgi-bozo.c 2017/02/12 22:07:17 1.25.2.7 +++ src/libexec/httpd/cgi-bozo.c 2018/01/03 20:30:09 1.25.2.8 @@ -1,4 +1,4 @@ -/* $NetBSD: cgi-bozo.c,v 1.25.2.7 2017/02/12 22:07:17 snj Exp $ */ +/* $NetBSD: cgi-bozo.c,v 1.25.2.8 2018/01/03 20:30:09 snj Exp $ */ /* $eterna: cgi-bozo.c,v 1.40 2011/11/18 09:21:15 mrg Exp $ */ @@ -587,6 +587,8 @@ bozo_process_cgi(bozo_httpreq_t *request bozoerr(httpd, 1, "child socketpair failed: %s", strerror(errno)); + *curenvp = 0; + /* * We create 2 procs: one to become the CGI, one read from * the CGI and output to the network, and this parent will