This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16917] New: libc6: ptsname_r() can use uninitialized memory
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 06 May 2014 21:45:16 +0000
- Subject: [Bug libc/16917] New: libc6: ptsname_r() can use uninitialized memory
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16917
Bug ID: 16917
Summary: libc6: ptsname_r() can use uninitialized memory
Product: glibc
Version: 2.13
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: aurelien at aurel32 dot net
Reporter: aurelien at aurel32 dot net
CC: drepper.fsp at gmail dot com
If the fd refers to a terminal device, but not a pty master, the TIOCGPTN ioctl
returns with ENOTTY. This error is not caught, and the possibly undefined
buffer passed to ptsname_r is sent directly to the stat64 syscall.
For more details, see ttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741482
--
You are receiving this mail because:
You are on the CC list for the bug.