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.
Status: PublishedPublication date: 2007-09
Edition: 2Number of pages: 81
Technical Committee: ISO/IEC JTC 1/SC 22 Programming languages, their environments and system software interfaces
- ICS :
- 35.060 Languages used in information technology
Buy this standard
|std 1 208|
|std 2 208||Paper|
ISO/IEC TR 24731-1:2007
A standard is reviewed every 5 years
Stage: 90.93 (Confirmed)
Got a question?
Check out our FAQs
Monday to Friday - 09:00-12:00, 14:00-17:00 (UTC+1)
Keep up to date with ISO
Sign up to our newsletter for the latest news, views and product information.