[BusyBox 0001562]: inetd calls execv with incorrect arguments

bugs at busybox.net bugs at busybox.net
Tue Oct 30 13:53:09 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             10-30-2007 06:53 PDT
Last Modified:              10-30-2007 06:53 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
====================================================================== 

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




More information about the busybox-cvs mailing list