Description
Extracting characters from cin into character array. The operator>> will copy outside the bound of the statically allocated array if the length of the input is more than 11 characters.
From "Secure Coding in C and C++" by Robert C. Seacord.
Page 29, Figure 2-4
Flaws
Have any comments on this test case? Please, send us an email.