public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat
@ 2020-12-06 14:45 mliska at suse dot cz
2021-01-06 3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: mliska at suse dot cz @ 2020-12-06 14:45 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
Bug ID: 27024
Summary: Wrong access (read_only, 3, 4) attribute for
readlinkat
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: stdio
Assignee: unassigned at sourceware dot org
Reporter: mliska at suse dot cz
CC: msebor at redhat dot com
Target Milestone: ---
Since g:06febd8c670, there's a bad access attribute:
posix/unistd.h:
/* Like readlink but a relative PATH is interpreted relative to FD. */
extern ssize_t readlinkat (int __fd, const char *__restrict __path,
char *__restrict __buf, size_t __len)
__THROW __nonnull ((2, 3)) __wur __attr_access ((__read_only__, 3, 4));
#endif
it guess it should be write_only.
@Martin: Can you please take a look?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
@ 2021-01-06 3:53 ` richardpku at gmail dot com
2021-01-06 5:21 ` mliska at suse dot cz
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: richardpku at gmail dot com @ 2021-01-06 3:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
Richard Li <richardpku at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richardpku at gmail dot com
--- Comment #1 from Richard Li <richardpku at gmail dot com> ---
Encountered this bug too.
Got a warning, something like "buffer may be used uninitialized". Changing it
to write_only fixes it.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
2021-01-06 3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
@ 2021-01-06 5:21 ` mliska at suse dot cz
2021-01-06 15:53 ` msebor at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mliska at suse dot cz @ 2021-01-06 5:21 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
@Martin: May I please ping this issue..
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
2021-01-06 3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
2021-01-06 5:21 ` mliska at suse dot cz
@ 2021-01-06 15:53 ` msebor at gmail dot com
2021-01-06 16:07 ` mliska at suse dot cz
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: msebor at gmail dot com @ 2021-01-06 15:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
Martin Sebor <msebor at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gmail dot com
--- Comment #3 from Martin Sebor <msebor at gmail dot com> ---
Ah, yes, thanks! I remembered you'd CC'd me on a bug but couldn't find it. I
now see why: I searched for msebor@gmail.com and it's under @redhat.com.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
` (2 preceding siblings ...)
2021-01-06 15:53 ` msebor at gmail dot com
@ 2021-01-06 16:07 ` mliska at suse dot cz
2021-01-08 0:49 ` msebor at gmail dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mliska at suse dot cz @ 2021-01-06 16:07 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
--- Comment #4 from Martin Liska <mliska at suse dot cz> ---
Heh. I guess the fix is quite easy..
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
` (3 preceding siblings ...)
2021-01-06 16:07 ` mliska at suse dot cz
@ 2021-01-08 0:49 ` msebor at gmail dot com
2021-01-10 20:52 ` msebor at redhat dot com
2021-02-07 15:24 ` fweimer at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: msebor at gmail dot com @ 2021-01-08 0:49 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
--- Comment #5 from Martin Sebor <msebor at gmail dot com> ---
Patch: https://sourceware.org/pipermail/libc-alpha/2021-January/121422.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
` (4 preceding siblings ...)
2021-01-08 0:49 ` msebor at gmail dot com
@ 2021-01-10 20:52 ` msebor at redhat dot com
2021-02-07 15:24 ` fweimer at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: msebor at redhat dot com @ 2021-01-10 20:52 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
Martin Sebor <msebor at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Martin Sebor <msebor at redhat dot com> ---
Fixed in g:2cd361b511.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug stdio/27024] Wrong access (read_only, 3, 4) attribute for readlinkat
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
` (5 preceding siblings ...)
2021-01-10 20:52 ` msebor at redhat dot com
@ 2021-02-07 15:24 ` fweimer at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2021-02-07 15:24 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27024
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
CC| |fweimer at redhat dot com
Target Milestone|--- |2.33
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-02-07 15:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
2021-01-06 3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
2021-01-06 5:21 ` mliska at suse dot cz
2021-01-06 15:53 ` msebor at gmail dot com
2021-01-06 16:07 ` mliska at suse dot cz
2021-01-08 0:49 ` msebor at gmail dot com
2021-01-10 20:52 ` msebor at redhat dot com
2021-02-07 15:24 ` 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).