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-194-gbdc3009
- From: dj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Mar 2018 20:46:36 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-194-gbdc3009
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 bdc3009b8ff0effdbbfb05eb6b10966753cbf9b8 (commit)
from f9555d73121bd12f6fd50545868e6a33096b8164 (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=bdc3009b8ff0effdbbfb05eb6b10966753cbf9b8
commit bdc3009b8ff0effdbbfb05eb6b10966753cbf9b8
Author: Francois Goichon <fgoichon@google.com>
Date: Wed Mar 14 16:25:57 2018 -0400
malloc: harden removal from unsorted list
* malloc/malloc.c (_int_malloc): Added check before removing from
unsorted list.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index e229181..9614954 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3775,6 +3775,8 @@ _int_malloc (mstate av, size_t bytes)
}
/* remove from unsorted list */
+ if (__glibc_unlikely (bck->fd != victim))
+ malloc_printerr ("malloc(): corrupted unsorted chunks 3");
unsorted_chunks (av)->bk = bck;
bck->fd = unsorted_chunks (av);
-----------------------------------------------------------------------
Summary of changes:
malloc/malloc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources