National Institute of Standards and Technology
Package illustrating a test case

Test case 2017

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work.

Description

If too few arguments are sent to a function, the function will still pop the expected number of arguments from the stack. Potentially, a variable number of arguments could be exhausted in a function as well. (from TCCLASP-5_6_2_10) (CWE 234) Note: some compilers that check whether too few arguments are sent to a function might not compile this test case example.

Flaws

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