Opened 19 years ago
Closed 19 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 by , 19 years ago
Component: | binutils → emx |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.