European Dependable Computing Conference (2010)
Apr. 28, 2010 to Apr. 30, 2010
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/EDCC.2010.31
OpenSSL is a library providing various functionalities relating to secure network communication. Detecting and fixing bugs in OpenSSL code is thus essential, particularly when such bugs can lead to malicious attacks. In previous work, we have proposed a methodology for finding API usage protocols in Linux kernel code using the program matching and transformation engine Coccinelle. In this work, we report on our experience in applying this methodology to OpenSSL, focusing on API usage protocols related to error handling. We have detected over 30 bugs in a recent OpenSSL snapshot, and in many cases it was possible to correct the bugs automatically. Our patches correcting these bugs have been accepted by the OpenSSL developers. This work furthermore confirms the applicability of our methodology to user-level code.
R. R. Hansen, J. Lawall, B. Laurie, N. Palix and G. Muller, "Finding Error Handling Bugs in OpenSSL Using Coccinelle," European Dependable Computing Conference(EDCC), Valencia, Spain, 2010, pp. 191-196.