National Institute of Standards and Technology
Package illustrating a test case

Test case 1638

Description

Sprintf is used to copy a string to a stack buffer. The length is guarded with a length specifier in the format string preventing a buffer overflow from occuring.

Flaws

Test Suites

Have any comments on this test case? Please, send us an email.