Fix block-size and in the same time array bug in 'pf'
This commit is contained in:
parent
7507868d47
commit
f01876a576
|
@ -442,7 +442,7 @@ static int cmd_print(void *data, const char *input) {
|
|||
if (p) {
|
||||
l = (int) r_num_math (core->num, p+1);
|
||||
/* except disasm and memoryfmt (pd, pm) */
|
||||
if (input[0] != 'd' && input[0] != 'D' && input[0] != 'm' && input[0]!='a') {
|
||||
if (input[0] != 'd' && input[0] != 'D' && input[0] != 'm' && input[0]!='a' && input[0]!='f') {
|
||||
if (l>0) len = l;
|
||||
if (l>tbs) {
|
||||
if (!r_core_block_size (core, l)) {
|
||||
|
|
Loading…
Reference in New Issue