This report describes a managed string library for the C programming language. Many software vulnerabilities in C programs result from the misuse of manipulation functions for standard C strings. Programming errors common to string-manipulation logic include buffer overflow, truncation errors, string termination errors, and improper data sanitization. The managed string library provides mechanisms to eliminate or mitigate these problems and improve system security. The CERT Program, which is part of the Carnegie Mellon Software Engineering Institute, provides a proof-of-concept implementation of the managed string library on its Secure Coding web pages.
This report is related to the following area(s) of work:
Security and SurvivabilityTechnical Report
CMU/SEI-2010-TR-018
May 2010
SEI:
Burch, Hal; Long, Fred; Rungta, Raunak; Seacord, Robert; & Svoboda, David. Specifications for Managed Strings, Second Edition (CMU/SEI-2010-TR-018). Software Engineering Institute, Carnegie Mellon University, 2010. http://www.sei.cmu.edu/library/abstracts/reports/10tr018.cfm
IEEE:
H. Burch, F. Long, R. Rungta, R. Seacord, and D. Svoboda, "Specifications for Managed Strings, Second Edition," Software Engineering Institute, Carnegie Mellon University, Pittsburgh, Pennsylvania, Technical Report CMU/SEI-2010-TR-018, 2010. http://www.sei.cmu.edu/library/abstracts/reports/10tr018.cfm
APA:
Burch, H., Long, F., Rungta, R., Seacord, R., & Svoboda, D. (2010). Specifications for Managed Strings, Second Edition (CMU/SEI-2010-TR-018). Retrieved May 19, 2013, from the Software Engineering Institute, Carnegie Mellon University website: http://www.sei.cmu.edu/library/abstracts/reports/10tr018.cfm
CHI:
Burch, Hal, Fred Long, Raunak Rungta, Robert Seacord, and David Svoboda. Specifications for Managed Strings, Second Edition (CMU/SEI-2010-TR-018). Pittsburgh, PA: Software Engineering Institute, Carnegie Mellon University, 2010. http://www.sei.cmu.edu/library/abstracts/reports/10tr018.cfm
MLA:
Burch, H., Long, F., Rungta, R., Seacord, R., & Svoboda, D. 2010. Specifications for Managed Strings, Second Edition (Technical Report CMU/SEI-2010-TR-018). Pittsburgh: Software Engineering Institute, Carnegie Mellon University. http://www.sei.cmu.edu/library/abstracts/reports/10tr018.cfm
For more information