The ISO C committee (ISO/IEC JTC1/SC21/WG14) has published TR 24731-1 and is working on TR 24731-2 (the second part is still under development). From the web site:
TR 24731-1: Extensions to the C Library Part I: Bounds-checking interfaces
WG14 is working on a TR on safer C library functions. This TR is oriented towards modifying existing programs, often by adding an extra parameter with the buffer length. The latest draft is in document N1225. A rationale is in document N1173. This is to become a Technical Report type 2.
TR 24731-2: Extensions to the C Library - Part II: Dynamic allocation functions
WG14 is working on a TR on safer C library functions. This TR is oriented towards new programs using dynamic allocation instead of an extra parameter for the buffer length. The latest draft is in document N1337. This is to become a Technical Report type 2.
(Documentation available for download at the site cited earlier.)
Questions
- Do you use a library or compiler with support for the TR24731-1 functions?
- If so, which compiler or library and on which platform(s)?
- Did you uncover any bugs as a result of fixing your code to use these functions?
- Which functions provide the most value?
- Are there any that provide no value or negative value?
- Are you planning to use the library in the future?
- Are you tracking the TR24731-2 work at all?