[BusyBox 0001562]: inetd calls execv with incorrect arguments

bugs at busybox.net bugs at busybox.net
Tue Oct 30 19:42:44 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1562 
====================================================================== 
Reported By:                IlyaPanfilov
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1562
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-30-2007 06:53 PDT
Last Modified:              10-30-2007 12:42 PDT
====================================================================== 
Summary:                    inetd calls execv with incorrect arguments
Description: 
inetd does not set argv[0] of execv function to name of file to execute
If called programm checks its argv[0] (busybox for example) it fails.

Way to reproduce:
 - compile busybox with inetd and telnetd support
 - configure inetd to start telnetd
 - try to connect

Env:
 - arm-linux-gcc 3.3.2
 - libc 2.2.5


Patch is included
====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-30-07 12:42  
---------------------------------------------------------------------- 
Thanks! Fixed in svn and will be in 1.7.3:

http://busybox.net/downloads/fixes-1.7.2/busybox-1.7.2-inetd.patch 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-30-07 06:53  IlyaPanfilov   New Issue                                    
10-30-07 06:53  IlyaPanfilov   Status                   new => assigned     
10-30-07 06:53  IlyaPanfilov   Assigned To               => BusyBox         
10-30-07 06:53  IlyaPanfilov   File Added: inetd.patch                      
10-30-07 12:42  vda            Status                   assigned => closed  
10-30-07 12:42  vda            Note Added: 0002877                          
======================================================================




More information about the busybox-cvs mailing list