Fix huge allocation when casting int to ut64 ##crash

This commit is contained in:
pancake 2024-06-30 18:48:59 +02:00
parent 8e3a87264f
commit bbd4ad0dd2

View File

@ -392,7 +392,7 @@ static ut64 pcpos(const char* buf) {
static int rasm_disasm(RAsmState *as, ut64 addr, const char *buf, int len, int bits, int bin, int hex) {
ut8 *data = NULL;
int ret = 0;
ut64 clen = 0;
st64 clen = 0;
if (bits == 1) {
len /= 8;
}