Subject: CVS commit: src/libexec/httpd
To: None <source-changes@NetBSD.org>
From: Tyler R. Retzlaff <rtr@netbsd.org>
List: source-changes
Date: 11/04/2007 06:07:52
Module Name:	src
Committed By:	rtr
Date:		Sun Nov  4 06:07:52 UTC 2007

Modified Files:
	src/libexec/httpd: cgi-bozo.c

Log Message:
+ don't free strdup()'d ptr that was manipulated.
  (i.e. free(): warning: modified (chunk-) pointer))
+ don't leak memory for ptr actually returned from strdup()
+ don't strdup() if we don't have to
+ don't break without free() if we did strdup()
+ as well as freeing h_value also free the header.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/libexec/httpd/cgi-bozo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.