]> git.ipfire.org Git - thirdparty/glibc.git/commit
login: Add nonstring attributes to struct utmp, struct utmpx [BZ #24899]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 14:09:43 +0000 (16:09 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 14:09:43 +0000 (16:09 +0200)
commitc2adefbafcdd2519ff43eca6891c77cd7b29ab62
tree44ad3044ceb469239af4c1fb1bf3ca0335454f95
parent0d5b2917530ccaf8ad312dfbb7bce69d569c23ad
login: Add nonstring attributes to struct utmp, struct utmpx [BZ #24899]

Commit 7532837d7b03b3ca5b9a63d77a5bd81dd23f3d9c ("The
-Wstringop-truncation option new in GCC 8 detects common misuses")
added __attribute_nonstring__ to bits/utmp.h, but it did not update
the parallel bits/utmpx.h header.  In struct utmp, the nonstring
attribute for ut_id was missing.
ChangeLog
bits/utmp.h
sysdeps/gnu/bits/utmpx.h
sysdeps/unix/sysv/linux/s390/bits/utmp.h
sysdeps/unix/sysv/linux/s390/bits/utmpx.h