mirror of git://sourceware.org/git/glibc.git
When passed a pointer to a zero-sized struct, the access attribute without the third argument misleads -Wstringop-overflow diagnostics to think that a function is writing 1 byte into the zero-sized structs. The attribute doesn't add that much value in this context, so drop it completely for _FORTIFY_SOURCE=3. Resolves: BZ #31383 Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||
|---|---|---|
| .. | ||
| auxv.h | ||
| cdefs.h | ||
| dir.h | ||
| file.h | ||
| ioctl.h | ||
| mman.h | ||
| param.h | ||
| queue.h | ||
| select.h | ||
| single_threaded.h | ||
| syslog.h | ||
| sysmacros.h | ||
| uio.h | ||
| xattr.h | ||