mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-17 20:58:14 +00:00
Fix crash in oodr
This commit is contained in:
parent
aca973f31f
commit
19bdc6f41a
@ -1701,7 +1701,6 @@ static int cb_scrstrconv(void *user, void *data) {
|
||||
|
||||
static int cb_graphformat(void *user, void *data) {
|
||||
RConfigNode *node = (RConfigNode *) data;
|
||||
RCore *core = (RCore*) user;
|
||||
if (!strcmp (node->value, "?")) {
|
||||
r_cons_printf ("dot\ngml\ngmlfcn\n");
|
||||
return false;
|
||||
|
@ -1323,7 +1323,7 @@ static int cmd_open(void *data, const char *input) {
|
||||
break;
|
||||
case 'd': // "ood" : reopen in debugger
|
||||
if (input[2] == 'r') { // "oodr"
|
||||
r_core_cmdf ("dor %s", input + 3);
|
||||
r_core_cmdf (core, "dor %s", input + 3);
|
||||
r_core_file_reopen_debug (core, "");
|
||||
} else if ('?' == input[2]) {
|
||||
r_core_cmd_help (core, help_msg_ood);
|
||||
|
Loading…
x
Reference in New Issue
Block a user