[BusyBox 0002004]: httpd : arguments not properly passed to interpreters
bugs at busybox.net
bugs at busybox.net
Mon Feb 11 08:26:57 PST 2008
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=2004
======================================================================
Reported By: antezedens
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 2004
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 01-29-2008 06:25 PST
Last Modified: 02-11-2008 08:26 PST
======================================================================
Summary: httpd : arguments not properly passed to
interpreters
Description:
in function "send_cgi_and_exit"
line 1444: the arguments are set:
argv[0] = (char*)bb_basename(purl);
argv[1] = NULL;
However, argv[0] as expected by execv should be the executable name, so
the following assignments should be done:
argv[0] = (char*)interpr;
argv[1] = (char*)bb_basename(purl);
argv[2] = NULL;
======================================================================
----------------------------------------------------------------------
vda - 02-11-08 08:26
----------------------------------------------------------------------
Fixed in svn (rev 20983). Thanks.
Issue History
Date Modified Username Field Change
======================================================================
01-29-08 06:25 antezedens New Issue
01-29-08 06:25 antezedens Status new => assigned
01-29-08 06:25 antezedens Assigned To => BusyBox
01-29-08 06:26 antezedens Issue Monitored: antezedens
02-11-08 08:26 vda Status assigned => closed
02-11-08 08:26 vda Note Added: 0003874
======================================================================
More information about the busybox-cvs
mailing list