fix some oss-fuzz (#1249)
* fix oss-fuzz 21012. * fix oss-fuzz 21741. * fix oss-fuzz 21743.
This commit is contained in:
@@ -441,7 +441,7 @@ void glue(helper_pmaddwd, SUFFIX)(CPUX86State *env, Reg *d, Reg *s)
|
||||
#if SHIFT == 0
|
||||
static inline int abs1(int a)
|
||||
{
|
||||
if (a < 0) {
|
||||
if (a < 0 && a != 0x80000000) {
|
||||
return -a;
|
||||
} else {
|
||||
return a;
|
||||
|
||||
Reference in New Issue
Block a user