Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix UBSan error: Shifting 64 bit type by 64 is undefined behaviour
Shifting a type by >=sizeof(type)*8 is undefined behaviour in C. Since t->prng.buf is overwritten on the next iteration anyways this thankfully isn't a real bug here. Fixes silentbicycle#52
- Loading branch information