...
Compliant Solution (sprintf_m())
This compliant solution shows the redesigned API for {{Wiki Markup sprintf()}} from the CERT managed string library \ [[Burch 2006|AA. Bibliography#Burch06]\].
| Code Block | ||||
|---|---|---|---|---|
| ||||
errno_t sprintf_m( string_m buf, const string_m fmt, int *count, ... ); |
...
Bibliography
\[[Burch 2006|AA. Bibliography#Burch06]\]Wiki Markup
...
12. Error Handling (ERR) ERR03-C. Use runtime-constraint handlers when calling the bounds-checking interfaces