A PID offers so little additional entropy that it's basically worthless. Still, it can't hurt
to include it, right?
Dunno about thiat... If the PID weren't mixed into the randomness, this vulnerability would
have been found within days if nothours. The slight additional complexity of mixing the PID
in managed to hide a massive security problem for two years.
So, if /dev/random is good enough, perhaps mixing in a tiny amount more entropy ends up being
more harmful than helpful. It seems to have been in this case.
Posted May 17, 2008 15:18 UTC (Sat) by ikm (subscriber, #493)
[Link]
I'd say just not mess with the others' sources lightly. Some people like to come and say — oh
here, what the hell is this? Let's just cut it out! A story about a girl who tried to treat
her hamster for a "pimple" he had spurs to my mind.