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?
Encountered this bug too. Got a warning, something like "buffer may be used uninitialized". Changing it to write_only fixes it.
@Martin: May I please ping this issue..
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.
Heh. I guess the fix is quite easy..
Patch: https://sourceware.org/pipermail/libc-alpha/2021-January/121422.html
Fixed in g:2cd361b511.