mirror of
https://github.com/radareorg/radare2.git
synced 2025-04-01 17:11:51 +00:00
Fix #16214 - segfault in =+ command
This commit is contained in:
parent
3959e8eabb
commit
9374e9a1cb
@ -757,6 +757,7 @@ R_API void r_core_rtr_add(RCore *core, const char *_input) {
|
||||
} else {
|
||||
*ptr++ = '\0';
|
||||
port = ptr;
|
||||
r_str_trim (port);
|
||||
}
|
||||
} else {
|
||||
port = NULL;
|
||||
@ -775,7 +776,6 @@ R_API void r_core_rtr_add(RCore *core, const char *_input) {
|
||||
}
|
||||
}
|
||||
|
||||
r_str_trim (port);
|
||||
if (r_sandbox_enable (0)) {
|
||||
eprintf ("sandbox: connect disabled\n");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user