[BusyBox 0001064]: telnetd segfault when using devpts and /dev/pts is not mounted

bugs at busybox.net bugs at busybox.net
Thu Oct 5 08:54:46 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             10-05-2006 01:54 PDT
Last Modified:              10-05-2006 01:54 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.
====================================================================== 

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         
======================================================================




More information about the busybox-cvs mailing list