3 ms·
> Although, IMHO, code with a reference to block scope uninitialized variable shouldn't even compile. Funny story, that is actually what caused Debian's weak k
by cyphar 11y ago
> Although, IMHO, code with a reference to block scope uninitialized variable shouldn't even compile.
Funny story, that is actually what caused Debian's weak keys fiasco. The code was using uninitialised memory to seed the PRNG and someone removed it because of valgrind warnings. So sometimes UB is exactly what you want. :P