[BusyBox 0002004]: httpd : arguments not properly passed to interpreters

bugs at busybox.net bugs at busybox.net
Tue Jan 29 14:25:43 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             01-29-2008 06:25 PST
Last Modified:              01-29-2008 06:25 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;
====================================================================== 

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         
======================================================================




More information about the busybox-cvs mailing list