[Bug other/40024] trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out of the array bound.

ktietz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 27 17:50:00 GMT 2009



------- Comment #5 from ktietz at gcc dot gnu dot org  2009-06-27 17:50 -------
Subject: Bug 40024

Author: ktietz
Date: Sat Jun 27 17:50:20 2009
New Revision: 149015

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149015
Log:
2009-06-27  Kai Tietz  <kai.tietz@onevision.com>

        Merged from trunk rev/148061
        2009-06-01  Jakub Jelinek  <jakub@redhat.com>
        PR other/40024
        * emutls.c (__emutls_get_address): Change arr->size to mean number
        of allocated arr->data entries instead of # of slots + 1.


Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/emutls.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40024



More information about the Gcc-bugs mailing list