Truncate func names when reading symbol maps.

Otherwise they'll get trashed.
This commit is contained in:
Unknown W. Brackets 2013-11-27 21:59:45 -08:00
parent 778eeb9968
commit bb41e015b9

View file

@ -98,7 +98,7 @@ bool SymbolMap::LoadSymbolMap(const char *filename)
u32 address,size,vaddress;
SymbolType type;
char name[128];
char name[128] = {0};
sscanf(line,"%08x %08x %08x %i %127c",&address,&size,&vaddress,(int*)&type,name);