public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13335] New: chroot_canon(): Fix off-by-one in readlink() buffer
@ 2011-10-24 14:54 thomas.jarosch at intra2net dot com
2011-10-29 16:28 ` [Bug libc/13335] " drepper.fsp at gmail dot com
2014-06-27 11:50 ` fweimer at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: thomas.jarosch at intra2net dot com @ 2011-10-24 14:54 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13335
Bug #: 13335
Summary: chroot_canon(): Fix off-by-one in readlink() buffer
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 6027
--> http://sourceware.org/bugzilla/attachment.cgi?id=6027
Patch to fix the issue
>From the patch:
chroot_canon(): Fix off-by-one in readlink() buffer
readlink() might return the full size of the buffer,
so we might write the terminating zero past the end of the buffer.
Fix it by reducing the supplied buffer size by 1.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/13335] chroot_canon(): Fix off-by-one in readlink() buffer
2011-10-24 14:54 [Bug libc/13335] New: chroot_canon(): Fix off-by-one in readlink() buffer thomas.jarosch at intra2net dot com
@ 2011-10-29 16:28 ` drepper.fsp at gmail dot com
2014-06-27 11:50 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-10-29 16:28 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13335
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-10-29 16:28:19 UTC ---
I checked in a patch. Your formatting is wrong, the copyright year wasn't
updated, and no ChangeLog entry provided.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/13335] chroot_canon(): Fix off-by-one in readlink() buffer
2011-10-24 14:54 [Bug libc/13335] New: chroot_canon(): Fix off-by-one in readlink() buffer thomas.jarosch at intra2net dot com
2011-10-29 16:28 ` [Bug libc/13335] " drepper.fsp at gmail dot com
@ 2014-06-27 11:50 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 11:50 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13335
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-27 11:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24 14:54 [Bug libc/13335] New: chroot_canon(): Fix off-by-one in readlink() buffer thomas.jarosch at intra2net dot com
2011-10-29 16:28 ` [Bug libc/13335] " drepper.fsp at gmail dot com
2014-06-27 11:50 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).