mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 02:06:46 +00:00
Fix crash when executing om
(#13362)
This commit is contained in:
parent
917fcda0ad
commit
616c6b263b
@ -799,7 +799,7 @@ static void cmd_open_map(RCore *core, const char *input) {
|
||||
core->print->cb_printf ("%i\n", map->id);
|
||||
}
|
||||
} else {
|
||||
if (input[2] == 'q') { // "omqq"
|
||||
if (input[1] && input[2] == 'q') { // "omqq"
|
||||
map_list (core->io, input[1], core->print, -2);
|
||||
} else {
|
||||
map_list (core->io, input[1], core->print, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user