about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-15 16:09:43 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-15 16:09:43 +0200
commitc2adefbafcdd2519ff43eca6891c77cd7b29ab62 (patch)
tree44ad3044ceb469239af4c1fb1bf3ca0335454f95 /ChangeLog
parent0d5b2917530ccaf8ad312dfbb7bce69d569c23ad (diff)
downloadglibc-c2adefbafcdd2519ff43eca6891c77cd7b29ab62.tar.gz
glibc-c2adefbafcdd2519ff43eca6891c77cd7b29ab62.tar.xz
glibc-c2adefbafcdd2519ff43eca6891c77cd7b29ab62.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b13346c952..c49d952a0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2019-08-15  Florian Weimer  <fweimer@redhat.com>
 
+	[BZ #24899]
+	* sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
+	__attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
+	* sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
+	Likewise.
+	* sysdeps/gnu/bits/utmp.h (struct utmp): Add
+	__attribute_nonstring__ to ut_id.
+	* sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
+	Likewise.
+
+2019-08-15  Florian Weimer  <fweimer@redhat.com>
+
 	[BZ #24880]
 	* login/utmp_file.c (file_locking_failed): Use struct flock64.
 	(file_locking_unlock): Likewise.