mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
Fix crash in pf*
This commit is contained in:
parent
56d04cf0b3
commit
7284b3909b
@ -111,12 +111,13 @@ static int process_input(RCore *core, const char *input, ut64* blocksize, char *
|
||||
}
|
||||
|
||||
static void cmd_print_format (RCore *core, const char *_input, int len) {
|
||||
char *input = strdup (_input);
|
||||
char *input;
|
||||
int i, flag = -1;
|
||||
if (input[1]=='*') {
|
||||
input++;
|
||||
if (_input[1]=='*') {
|
||||
_input++;
|
||||
flag = SEEFLAG;
|
||||
}
|
||||
input = strdup (_input);
|
||||
// "pfo" // open formatted thing
|
||||
if (input[1]=='o') { // "pfo"
|
||||
if (input[2] == '?') {
|
||||
|
Loading…
Reference in New Issue
Block a user