mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
I meant to check for an empty string as well as a null string. Really. r=mozbot.
This commit is contained in:
parent
0e97dcab55
commit
bb0bc1b268
@ -122,7 +122,7 @@ static void DumpAddressMap()
|
||||
malloc_map_entry mme;
|
||||
link_map* map = _r_debug.r_map;
|
||||
while (NULL != map) {
|
||||
if (map->l_name) {
|
||||
if (map->l_name && *map->l_name) {
|
||||
mme.nameLen = strlen(map->l_name);
|
||||
mme.address = map->l_addr;
|
||||
write(mfd, &mme, sizeof(mme));
|
||||
|
Loading…
Reference in New Issue
Block a user