This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13336] New: Add missing buffer termination in readlinkat() unit test
- From: "thomas.jarosch at intra2net dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 24 Oct 2011 14:56:02 +0000
- Subject: [Bug libc/13336] New: Add missing buffer termination in readlinkat() unit test
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13336
Bug #: 13336
Summary: Add missing buffer termination in readlinkat() unit
test
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: thomas.jarosch@intra2net.com
Classification: Unclassified
Created attachment 6028
--> http://sourceware.org/bugzilla/attachment.cgi?id=6028
Patch to fix the issue
>From the patch:
Add missing buffer termination in readlinkat() unit test
readlinkat() never zero terminates the buffer.
Also make sure we don't overflow the buffer if readlinkat() returns
the full size of the buffer by reducing the supplied size.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.