I've noticed that sometimes 'open()' is called with the empty string as a
path (""), as a result of the following code in tdep_get_elf_image():
if (path)
{
strncpy(path, mi.path, pathlen);
}
rc = elf_map_image (ei, mi.path);
Can it be changed to only call elf_map_image if mi.path is non-empty?
Thanks!
_______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
