Bug in bb 1.3.1, httpd with POST

Bernhard Fischer rep.dot.nop at gmail.com
Sun Feb 11 19:42:32 UTC 2007


On Sun, Feb 11, 2007 at 08:08:25PM +0100, Denis Vlasenko wrote:
>On Sunday 11 February 2007 19:54, Alexander Griesser wrote:

>-		dup2(inFd, 0);  // replace stdin with the pipe
>-		dup2(outFd, 1);  // replace stdout with the pipe
>+		if (config->accepted_socket > 1)
>+			close(config->accepted_socket);

Didn't we have an close_nonstdin?



More information about the busybox mailing list