[BusyBox] telnetd in kernel 2.6 segfaults (devfs)
Ignacio García Pérez
iggarpe at terra.es
Wed Feb 9 18:58:32 UTC 2005
Hi,
I'm using busybox-1.00, with a minimal root filesystem. I use devfs.
If I load kernel 2.6.9, telnetd segfaults upon the first connection.
If I load kernel 2.4.29, telnetd runs file.
I have traced the problem down to the ptsname() call. Under kernel 2.4 it
returns "/dev/pts/0", while under kernel 2.6 it returns NULL. As telnetd
does not do error checking, hence the segfault.
I have devfs enabled in both kernels, and also the pty filesystem is enabled
(note that under kernel 2.6, open("/dev/ptmx") returns a valid handle).
Any clues?
Thanks.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 2/7/2005
More information about the busybox
mailing list