[*] 3; chosen by dice roll. mimalloc heap seed regression: 115ee1a9ec

This commit is contained in:
Reece Wilson 2023-08-29 01:07:59 +01:00
parent fef6eac859
commit be32e2777f

View File

@ -212,12 +212,12 @@ namespace Aurora::RNG
acc = (acc << 1) | a; // push the first bit state acc = (acc << 1) | a; // push the first bit state
} }
acc = 0;
bits = 8;
c = AuHashCode(acc) ^ c = AuHashCode(acc) ^
(AuHashCode(c) * kFnv1MagicPrime32) ^ (AuHashCode(c) * kFnv1MagicPrime32) ^
(a ? AuHashCode(pASLRSeed) : 0); (a ? AuHashCode(pASLRSeed) : 0);
acc = 0;
bits = 8;
} }
*pBuf++ = AuUInt8(c); *pBuf++ = AuUInt8(c);