[BusyBox 0001562]: inetd calls execv with incorrect arguments
bugs at busybox.net
bugs at busybox.net
Mon Nov 12 13:00:13 PST 2007
The following issue has been REOPENED.
======================================================================
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: feedback
======================================================================
Date Submitted: 10-30-2007 06:53 PDT
Last Modified: 11-12-2007 13:00 PST
======================================================================
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
----------------------------------------------------------------------
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
======================================================================
More information about the busybox-cvs
mailing list