Opened 18 years ago

Closed 18 years ago

#27 closed defect (fixed)

ld bug when map files are requested

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

Description

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 18 years ago by bird

Component: binutilsemx
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.