National Institute of Standards and Technology
Package illustrating a test case

Test case 149084

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. The latest version of this test case is available here.

Description

A strcpy is used to copy a string into a heap buffer. The caller shortens the string to prevent a buffer overflow from occuring.

Flaws

Test Suites

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