This commit is contained in:
lazymio
2022-04-16 17:59:15 +02:00
committed by GitHub
parent 034844f7f9
commit e8129b6f66

4
uc.c
View File

@@ -975,10 +975,6 @@ static uc_err mem_map_check(uc_engine *uc, uint64_t address, size_t size,
} }
// address cannot wrapp around // address cannot wrapp around
if (address + size < address || address + size < size) {
return UC_ERR_ARG;
}
if (address + size - 1 < address) { if (address + size - 1 < address) {
return UC_ERR_ARG; return UC_ERR_ARG;
} }