News for hackers. Stuff that matters.
Re:Lines of code that changed everything by city41 on Wednesday November 27, 2019 @04:35PM (#21652344)
I thought they explained null terminated strings pretty well. But I feel they misled a bit on buffer overflows, which are more due to using raw pointers and not having a runtime that does bounds checking than anything else.
Re:Lines of code that changed everything by rabidrat on Thursday November 28, 2019 @03:51AM (#21655650)
I enjoyed the stories, many were new for me, but this was a major foul:

> But the RSA encryption algorithm—one of the basic building blocks of modern cryptography—is elegant enough that it can be written out in just four dense lines of Perl code … short enough to fit on a T-shirt.

And of course it has nothing to do with the elegance of RSA, but the largeness of Perl.

Re:Lines of code that changed everything by saagarjha on Wednesday November 27, 2019 @04:53PM (#21652526)
Or more specifically, the lack of a length that accompanies a pointer that can be used for bounds checking.