Information technology -- Programming languages, their environments and system software interfaces -- Extensions to the C library -- Part 1: Bounds-checking interfaces
(Only available in English)
ISO/IEC TR 24731-1:2007 provides alternative functions for the C Library (as defined in ISO/IEC 9899:1999) that promote safer, more secure programming. The functions verify that output buffers are large enough for the intended result, and return a failure indicator if they are not. Optionally, failing functions call a "runtime-constraint handler" to report the error. Data is never written past the end of an array. All string results are null terminated. In addition, the functions in ISO/IEC TR 24731-1:2007 are re-entrant: they never return pointers to static objects owned by the function.
ISO/IEC TR 24731-1:2007 also contains functions that address insecurities with the C input-output facilities.
Document published on: 2007-09-01 Edition: 2 (Monolingual) ICS: 35.060 Status: Published Stage: 90.93 (2013-10-30) TC/SC: ISO/IEC JTC 1/SC 22 Number of Pages: 81
This standard has not been revised
No corrigenda or amendments available