Faults in Linux: Using freed memory

As part of my project, while reading the reports, I came to know about bugs, using X after freeing it.  There were many in the versions 2.4.x and 2.6.x. I was also required to list FPs (false positives) by Coccinelle. This post will be about, what I found for the case of using freed memory.

You can view the complete report as a PDF here and as a HTML file here.

Continue reading

#bugs, #coccinelle, #false-positives, #foss-2, #fossopw

Faults in Linux: Using value taken from user as array bounds without check

As part of my project, while reading the reports, I came to know about bugs of type where unchecked values obtained from the user level are used as array indices or loop bounds..  These were less in the versions 2.4.x and 2.6.x. I was also required to list FPs (false positives) by Coccinelle. This post is be about the mentioned type.

You can view the complete report as a PDF here and as a HTML file here.

Continue reading

#array-bounds, #array-indices, #coccinelle, #false-positives