Opened 14 years ago

Closed 14 years ago

#27 closed defect (fixed)

ld bug when map files are requested

Reported by: ydario Owned by: bird
Priority: normal Milestone: libc-0.6.1
Component: emx Version:
Severity: major Keywords:


In write_output(), map file name overwrites memory because of wrong allocation. At line 3985, correct code is

if (map_filename == NULL)


freeav[j++] = map_filename = ALLOCA (strlen (exe_filename) + 5); strcpy (map_filename, exe_filename); _remext (map_filename); strcat (map_filename, ".map");


Change History (1)

comment:1 Changed 14 years ago by bird

  • Component changed from binutils to emx
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.