News for hackers. Stuff that matters.
Re:Tarsnap exploit bounty by jrockway on Friday August 21, 2015 @03:02PM (#10099568)
Security problems aren't just buffer overflows. Using another language gives you another set of problems. And of course, the underlying problem is the computation model employed by all modern computers, so using a higher-level language doesn't necessarily protect you from buffer overflows.

I'd say the biggest trap for young players is the C standard library, rather than anything about C the language. Null-terminated strings are very space efficient, but hard to work with. If you're willing to use something like bstrings, then you're setting yourself up for a higher likelihood of success. But most people choose what's built in, either for compatibility with other libraries, inertia, or not wanting yet another dependency, and then mess something up.

Re:Tarsnap exploit bounty by munin on Friday August 21, 2015 @06:22PM (#10100616)
> Using another language gives you another set of problems

No, you have those problems in C too. Using another language gives you the problems you had before and takes away the memory safety problems.