Love C, Hate C: Web Framework Memory Problems
alew.is·1d·
Discuss: Hacker News

I love C. I could give you rational reasons for that. Like the fact that it works everywhere and how it goes fast. But mostly I love C because when I write C I feel an intimate connection with my computer. To me, C has soul. In fact all my personal project are written in C, like the graphics rendering engines that I’m currently writing. The problem is that C is dangerous and sharing new C projects to wider audiences is borderline malicious.

Today on hacker news a cool little web framework written in C was posted. As a security researcher I’m always trying to sharpen my skills so I thought I’d given the app a look. And yup sure enough, there’s memory safety issues.

HttpParser parseRequest(char *request) {
HttpParser parser = ...

Similar Posts

Loading similar posts...