Changeset 557


Ignore:
Timestamp:
Aug 9, 2003, 5:27:46 AM (22 years ago)
Author:
bird
Message:

Corrected memory overwrite in emx_lang_set_decl_assembler_name().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/gcc/config/i386/emx.c

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r556 r557  
    5353remove_underscore:
    5454      oldsym = IDENTIFIER_POINTER (id);
    55       sl = strlen (oldsym) + 2;
    56       newsym = xmalloc (sl);
     55      sl = strlen (oldsym);
     56      newsym = xmalloc (sl + 2);
    5757      /* Specifying '*' as first symbol character tells gcc (see varasm.c,
    5858         function assemble_name()) to output the label as-is rather than
Note: See TracChangeset for help on using the changeset viewer.