auto-import glibc-2.3.3-81 on branch devel from glibc-2.3.3-81.src.rpm
This commit is contained in:
parent
76b3fa3376
commit
36d99a3d2a
@ -1366,13 +1366,13 @@
|
|||||||
/* Compile-time constants. */
|
/* Compile-time constants. */
|
||||||
|
|
||||||
--- glibc-20041119T0003/malloc/malloc.c 13 Nov 2004 19:49:43 -0000 1.136
|
--- glibc-20041119T0003/malloc/malloc.c 13 Nov 2004 19:49:43 -0000 1.136
|
||||||
+++ glibc-20041119T0003-fedora/malloc/malloc.c 19 Nov 2004 00:20:40 -0000 1.127.2.9
|
+++ glibc-20041119T0003-fedora/malloc/malloc.c 19 Nov 2004 06:38:37 -0000 1.127.2.10
|
||||||
@@ -24,7 +24,7 @@
|
@@ -24,7 +24,7 @@
|
||||||
Doug Lea and adapted to multiple threads/arenas by Wolfram Gloger.
|
Doug Lea and adapted to multiple threads/arenas by Wolfram Gloger.
|
||||||
|
|
||||||
* Version ptmalloc2-20011215
|
* Version ptmalloc2-20011215
|
||||||
- $Id: malloc.c,v 1.136 2004/11/13 19:49:43 drepper Exp $
|
- $Id: malloc.c,v 1.136 2004/11/13 19:49:43 drepper Exp $
|
||||||
+ $Id: malloc.c,v 1.127.2.9 2004/11/19 00:20:40 jakub Exp $
|
+ $Id: malloc.c,v 1.127.2.10 2004/11/19 06:38:37 jakub Exp $
|
||||||
based on:
|
based on:
|
||||||
VERSION 2.7.0 Sun Mar 11 14:14:06 2001 Doug Lea (dl at gee)
|
VERSION 2.7.0 Sun Mar 11 14:14:06 2001 Doug Lea (dl at gee)
|
||||||
|
|
||||||
@ -1380,7 +1380,7 @@
|
|||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
|
|
||||||
+ if (__builtin_expect (chunksize (chunk_at_offset (p, size)) <= 2 * SIZE_SZ,
|
+ if (__builtin_expect (chunk_at_offset (p, size)->size <= 2 * SIZE_SZ,
|
||||||
+ 0)
|
+ 0)
|
||||||
+ || __builtin_expect (chunksize (chunk_at_offset (p, size))
|
+ || __builtin_expect (chunksize (chunk_at_offset (p, size))
|
||||||
+ >= av->system_mem, 0))
|
+ >= av->system_mem, 0))
|
||||||
@ -1397,7 +1397,7 @@
|
|||||||
|
|
||||||
nextsize = chunksize(nextchunk);
|
nextsize = chunksize(nextchunk);
|
||||||
- assert(nextsize > 0);
|
- assert(nextsize > 0);
|
||||||
+ if (__builtin_expect (nextsize <= 2 * SIZE_SZ, 0)
|
+ if (__builtin_expect (nextchunk->size <= 2 * SIZE_SZ, 0)
|
||||||
+ || __builtin_expect (nextsize >= av->system_mem, 0))
|
+ || __builtin_expect (nextsize >= av->system_mem, 0))
|
||||||
+ {
|
+ {
|
||||||
+ errstr = "invalid next size (normal)";
|
+ errstr = "invalid next size (normal)";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
%define glibcdate 20041119T0003
|
%define glibcdate 20041119T0003
|
||||||
%define glibcversion 2.3.3
|
%define glibcversion 2.3.3
|
||||||
%define glibcrelease 80
|
%define glibcrelease 81
|
||||||
%define auxarches i586 i686 athlon sparcv9 alphaev6
|
%define auxarches i586 i686 athlon sparcv9 alphaev6
|
||||||
%define prelinkarches noarch
|
%define prelinkarches noarch
|
||||||
%define nptlarches i386 i686 athlon x86_64 ia64 s390 s390x sparcv9 ppc ppc64
|
%define nptlarches i386 i686 athlon x86_64 ia64 s390 s390x sparcv9 ppc ppc64
|
||||||
@ -1258,6 +1258,9 @@ rm -f *.filelist*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-81
|
||||||
|
- don't use chunksize in <= 2 * SIZE_SZ free () checks
|
||||||
|
|
||||||
* Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
|
* Fri Nov 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-80
|
||||||
- update from CVS
|
- update from CVS
|
||||||
- with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
|
- with -D_FORTIFY_SOURCE=2, prevent missing %N$ formats
|
||||||
|
Loading…
Reference in New Issue
Block a user