Accept default length for dis above 64 kiB boundary

Same fix as applied for md in 27f56783.
This commit is contained in:
Peter A. Bigot 2012-06-27 01:54:08 -05:00 committed by Daniel Beer
parent 546d716380
commit 7c04f72397
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ int cmd_dis(char **arg)
len_text);
return -1;
}
} else if (offset + length > 0x10000) {
} else if (offset < 0x10000 && offset + length > 0x10000) {
length = 0x10000 - offset;
}