[Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat
mliska at suse dot cz
sourceware-bugzilla@sourceware.org
Sun Dec 6 14:45:41 GMT 2020
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.
More information about the Glibc-bugs
mailing list