National Institute of Standards and Technology
Package illustrating a test case

Test case 1486

Description

Buffer overflow if the input is not validated. Every operation may write outside the bound of the statically allocated character array.
From "Secure Coding in C and C++" by Robert C. Seacord.
Page 28, Figure 2-2

Flaws

Test Suites

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