News for hackers. Stuff that matters.
Re:Why does Debian change software? by lmm on Thursday May 22, 2025 @05:45PM (#44067450)
No, there was no bug. The code used an uninitialised array as a place to XOR randomness from various sources into. It didn't initialise the array since there was no value in doing so, because the whole point is to be random anyway.
Re:Why does Debian change software? by LtWorf on Thursday May 22, 2025 @06:39PM (#44067928)
As I said, new kernels zero the pages, an uninitialized area is likely to be zeroed or be rather deterministic.
Re:Why does Debian change software? by lmm on Thursday May 22, 2025 @09:15PM (#44068878)
Which is fine. It's not a bug if it's zero. There's just no point going out of your way to set it to zero when you're only going to xor a bunch of random values into it anyway.
Re:Why does Debian change software? by LtWorf on Friday May 23, 2025 @12:33PM (#44074284)
The whole issue was caused because it was always zero because the patch zeroed it (:

Can you please read about the issue before commenting more?

Re:Why does Debian change software? by lmm on Saturday May 24, 2025 @07:48AM (#44080449)
> The whole issue was caused because it was always zero because the patch zeroed it (:

No it wasn't. The patch removed the read of the randomness buffer that folded it into another buffer (the MD_Update calls) because Valgrind was warning that the buffer it was reading from had never been initialised.

> Can you please read about the issue before commenting more?

Right back at you.