]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/emutls.c
re PR other/40024 (trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out...
authorJakub Jelinek <jakub@redhat.com>
Mon, 1 Jun 2009 18:03:26 +0000 (20:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 1 Jun 2009 18:03:26 +0000 (20:03 +0200)
commitdf0026a75e538e8bd59d6ed8c91e2e4fdb60d0db
tree57674f98cb29f239753d7c9e50143a96835914cf
parent6c0d70212d6db24e0223638c5ab5256d7191659b
re PR other/40024 (trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out of the array bound.)

PR other/40024
* emutls.c (__emutls_get_address): Change arr->size to mean number
of allocated arr->data entries instead of # of slots + 1.

From-SVN: r148061
gcc/ChangeLog
gcc/emutls.c