[BusyBox] buffer overflow in inetd.c
Glenn McGrath
bug1 at iinet.net.au
Mon Feb 16 08:13:27 UTC 2004
On Mon, 16 Feb 2004 09:58:26 +0300
"Vladimir N. Oleynik" <dzo at simtreas.ru> wrote:
> Hi, "toyota" (hmm).
>
> > I compiled busybox 1.00-pre7 on Linux 2.4.24 with gcc 3.2.2,
> > enabled to run the inetd and telnetd.
> > And I set up to use the inetd and telnetd. But didn't work.
>
> Yes. Don`t use inetd from pre7, from pre6 inetd works.
> Glenn`s patches is full broken:
>
> 1. unnecessary looped free() for se_argv
> 2. losed debug unnecessary code: printf("line is"), printf("error")
> 3. changes strdup to bb_stdup is bad idea: inetd is daemon and stderr
> moved to /dev/null,
> original inetd use syslog for say memory problem.
> 4. removed feature: unsuport space continued config lines.
>
> and may be more... :(
Sometimes a little rain must fall.
I believe you that it isnt perfect, but i did test it and it worked for
me, i think its cleaner and smaller than what it was before i touched
it.
I will look at some of the issues you mention.
Glenn
More information about the busybox
mailing list