mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-27 01:26:07 +00:00
Fix segfault in di when the process is dead
This commit is contained in:
parent
188bce9f25
commit
b56b63081d
@ -1700,7 +1700,7 @@ R_API ut64 r_debug_get_baddr(RDebug *dbg, const char *file) {
|
||||
abspath = r_file_abspath (file);
|
||||
}
|
||||
#endif
|
||||
if (!abspath) {
|
||||
if (!abspath && file) {
|
||||
abspath = strdup (file);
|
||||
}
|
||||
if (abspath) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user