ben 97/02/17 10:11:04
Modified: src mod_cgi.c Log: Check for NULL pointer. Reviewed by: Randy, Jim, Chuck Revision Changes Path 1.33 +2 -2 apache/src/mod_cgi.c Index: mod_cgi.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_cgi.c,v retrieving revision 1.32 retrieving revision 1.33 diff -C3 -r1.32 -r1.33 *** mod_cgi.c 1997/02/11 17:02:03 1.32 --- mod_cgi.c 1997/02/17 18:11:03 1.33 *************** *** 216,222 **** fprintf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val); } if ((r->method_number == M_POST || r->method_number == M_PUT) ! && *dbuf) { fprintf(f, "\n%s\n", dbuf); } --- 216,222 ---- fprintf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val); } if ((r->method_number == M_POST || r->method_number == M_PUT) ! && dbuf && *dbuf) { fprintf(f, "\n%s\n", dbuf); } *************** *** 312,318 **** #ifndef __EMX__ if (nph) client_to_stdout (r->connection); #endif ! /* Transumute outselves into the script. * NB only ISINDEX scripts get decoded arguments. */ --- 312,318 ---- #ifndef __EMX__ if (nph) client_to_stdout (r->connection); #endif ! /* Transumute outselves into the script. * NB only ISINDEX scripts get decoded arguments. */