News for hackers. Stuff that matters.
Re:Reddit's photo albums broke due to Integer overflow of Si... by manigandham on Wednesday December 14, 2022 @03:19AM (#33981200)
Then it's irrelevant. The point is that the remainders are evenly distributed as the integer is incremented, with at most a single round being short. That's just how the math works.
Re:Reddit's photo albums broke due to Integer overflow of Si... by iainmerrick on Wednesday December 14, 2022 @03:44AM (#33981338)
"A single round being short" is exactly what they're talking about.

Edit to add: whether that's a big enough effect for the use case they're talking about, I don't know. This sort of thing is definitely significant in cryptographic code, though.