BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001562 [BusyBox] Standards Compliance minor always 10-30-07 06:53 11-12-07 13:00
Reporter IlyaPanfilov View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001562: 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
Additional Information Also observed in BB 1.6.1 and BB 1.0.0
Attached Files  inetd.patch [^] (749 bytes) 10-30-07 06:53

- Relationships

- Notes
(0002877)
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 [^]
 
(0002908)
vda
11-12-07 13:00

THIS BUG REPORT IS BOGUS!

We do have to fill argv[] with all words after server program name, INCLUDING argv[0]
 

- 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
10-30-07 12:42 vda Resolution open => fixed
11-12-07 13:00 vda Status closed => feedback
11-12-07 13:00 vda Resolution fixed => reopened
11-12-07 13:00 vda Note Added: 0002908
11-12-07 13:00 vda Status feedback => closed
11-12-07 13:00 vda Resolution reopened => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker