This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.27.9000-18-gf649a1b
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 5 Feb 2018 10:06:50 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-18-gf649a1b
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f649a1b8b01ffc46a0e0ee5cca0623deccc94bf7 (commit)
from 9fdb340e64920cfaf006c8a7042f3ca0373d1d63 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f649a1b8b01ffc46a0e0ee5cca0623deccc94bf7
commit f649a1b8b01ffc46a0e0ee5cca0623deccc94bf7
Author: Andreas Schwab <schwab@suse.de>
Date: Wed Jan 31 10:52:14 2018 +0100
Fix uninitialized variable in assert_perror (bug 22761)
diff --git a/ChangeLog b/ChangeLog
index b8184b6..2e5c726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-05 Andreas Schwab <schwab@suse.de>
+
+ [BZ #22761]
+ * assert/assert-perr.c (__assert_perror_fail): Append %n to format
+ string.
+
2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
diff --git a/assert/assert-perr.c b/assert/assert-perr.c
index 002a5e8..4b4fe88 100644
--- a/assert/assert-perr.c
+++ b/assert/assert-perr.c
@@ -32,7 +32,7 @@ __assert_perror_fail (int errnum,
char errbuf[1024];
char *e = __strerror_r (errnum, errbuf, sizeof errbuf);
- __assert_fail_base (_("%s%s%s:%u: %s%sUnexpected error: %s.\n"),
+ __assert_fail_base (_("%s%s%s:%u: %s%sUnexpected error: %s.\n%n"),
e, file, line, function);
}
libc_hidden_def (__assert_perror_fail)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
assert/assert-perr.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources