|
|
|
|
|
by jmclnx
803 days ago
|
|
I remember this and the like is a good write-up, thanks for the link. I have see things like this over the past 30+ years. So a couple of Items to add: * Comment the hell out of hidden logic like this. Explain why nor what :) * Better yet, even though that uninitialized buffer helped with performance. These days it would be better to take the hit and add a random initialization of that buffer. Maybe read /dev/urandom or some other thing. You do not know who will come along after you, so try and make things explicit. |
|