public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28996] New: realpath fails to copy partial result to resolved buffer on ENOENT and EACCES
@ 2022-03-24 6:21 siddhesh at sourceware dot org
2022-03-31 16:32 ` [Bug libc/28996] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: siddhesh at sourceware dot org @ 2022-03-24 6:21 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28996
Bug ID: 28996
Summary: realpath fails to copy partial result to resolved
buffer on ENOENT and EACCES
Product: glibc
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: siddhesh at sourceware dot org
Reporter: siddhesh at sourceware dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
The fix for bug 28815 resulted in a regression in the GNU extension which says
that the resolved buffer will have the path that failed in case failure is due
to ENOENT or EACCES.
Bring back that behaviour to continue supporting the GNU extension.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28996] realpath fails to copy partial result to resolved buffer on ENOENT and EACCES
2022-03-24 6:21 [Bug libc/28996] New: realpath fails to copy partial result to resolved buffer on ENOENT and EACCES siddhesh at sourceware dot org
@ 2022-03-31 16:32 ` cvs-commit at gcc dot gnu.org
2022-03-31 16:36 ` siddhesh at sourceware dot org
2022-04-12 13:28 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-03-31 16:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28996
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Siddhesh Poyarekar
<siddhesh@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b416555431b47a21a855f225c6f5368ae4e4d56c
commit b416555431b47a21a855f225c6f5368ae4e4d56c
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Thu Mar 31 22:00:58 2022 +0530
realpath: Bring back GNU extension on ENOENT and EACCES [BZ #28996]
The GNU extension for realpath states that if the path resolution fails
with ENOENT or EACCES and the resolved buffer is non-NULL, it will
contain part of the path that failed resolution.
commit 949ad78a189194048df8a253bb31d1d11d919044 broke this when it
omitted the copy on failure. Bring it back partially to continue
supporting this GNU extension.
Resolves: BZ #28996
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Andreas Schwab <schwab@linux-m68k.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28996] realpath fails to copy partial result to resolved buffer on ENOENT and EACCES
2022-03-24 6:21 [Bug libc/28996] New: realpath fails to copy partial result to resolved buffer on ENOENT and EACCES siddhesh at sourceware dot org
2022-03-31 16:32 ` [Bug libc/28996] " cvs-commit at gcc dot gnu.org
@ 2022-03-31 16:36 ` siddhesh at sourceware dot org
2022-04-12 13:28 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: siddhesh at sourceware dot org @ 2022-03-31 16:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28996
Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.35 |2.36
Target Milestone|--- |2.36
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28996] realpath fails to copy partial result to resolved buffer on ENOENT and EACCES
2022-03-24 6:21 [Bug libc/28996] New: realpath fails to copy partial result to resolved buffer on ENOENT and EACCES siddhesh at sourceware dot org
2022-03-31 16:32 ` [Bug libc/28996] " cvs-commit at gcc dot gnu.org
2022-03-31 16:36 ` siddhesh at sourceware dot org
@ 2022-04-12 13:28 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-04-12 13:28 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28996
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=28815
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-12 13:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 6:21 [Bug libc/28996] New: realpath fails to copy partial result to resolved buffer on ENOENT and EACCES siddhesh at sourceware dot org
2022-03-31 16:32 ` [Bug libc/28996] " cvs-commit at gcc dot gnu.org
2022-03-31 16:36 ` siddhesh at sourceware dot org
2022-04-12 13:28 ` 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).