Some Linux kernel security vulnerabilities
Posted Nov 10, 2004 22:42 UTC (Wed) by
NAR (subscriber, #1313)
In reply to:
Some Linux kernel security vulnerabilities by ibukanov
Parent article:
Some Linux kernel security vulnerabilities
In fact they would present if that code would be Python or Java etc. [...] So the question is what tools/techniques can help to track such bugs automatically?
I'm way too sleepy to understand the mentioned bugs but it looks to me that the basic problem is that in C lots of functions use the return value to indicate error and to return valuable data. Its consequence is that it's easy to mess it up (classic examples are the atoi() and inet_addr()) while in e.g. Java, a call like read() returns the read data like in C, but when there is an error, it throws an IOException that the developer must handle.
Bye,NAR
(
Log in to post comments)