National Institute of Standards and Technology
Package illustrating a test case

Test case 1641

Description

Sprintf is used to copy a string to a stack buffer. A guard in the caller is used to prevent an overflow from occuring but the guard is incorrect and an overflow can still occur.

Flaws

Test Suites

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