[BusyBox 0001064]: telnetd segfault when using devpts and /dev/pts is not mounted
bugs at busybox.net
bugs at busybox.net
Sun Oct 15 11:22:25 PDT 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1064
======================================================================
Reported By: ydirson
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1064
Category: Networking Support
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 10-05-2006 01:54 PDT
Last Modified: 10-15-2006 11:22 PDT
======================================================================
Summary: telnetd segfault when using devpts and /dev/pts is
not mounted
Description:
In telnetd.c:getpty(), the return value of ptsname() is passed to strcpy()
without a check, while it is documented as returning NULL on error. This
happens for example if the kernel was compiled with UNIX98 PTY support (so
openning /dev/ptmx works), and /dev/pts is not mounted.
======================================================================
----------------------------------------------------------------------
vda - 10-15-06 11:22
----------------------------------------------------------------------
Fixed in rev 16391
Issue History
Date Modified Username Field Change
======================================================================
10-05-06 01:54 ydirson New Issue
10-05-06 01:54 ydirson Status new => assigned
10-05-06 01:54 ydirson Assigned To => BusyBox
10-15-06 11:22 vda Status assigned => closed
10-15-06 11:22 vda Note Added: 0001703
======================================================================
More information about the busybox-cvs
mailing list