Back to the previous page
| Test Case ID | 1536 |
| Bad / Good / Mixed | Bad |
| Author | DRDC |
| Associations | Test suite: 62 |
| Added by | Jeff Meister |
| Language | C++ |
| Type of test case | Source Code |
| Input string | |
| Expected Output | |
| Instructions | |
| Submission date | 2006-06-09 |
| Description | Use of gets(), strcpy() and similar functions, where there is no way to limit the size of the read string (no destination size parameter).
These test cases were graciously provided by Frederic Michaud of Defense Research & Development Canada - Valcartier. Please see test case ID 000-001-518 for an executable suite of all the DRDC test cases. |
| File(s) |
|
| Flaw |
|
There are no comments
Have any comments on this test case? Please,
.
- reading_of_a_string_of_arbitrary_length_without_limit.cpp
- reading_of_a_string_of_arbitrary_length_without_limit.h
- test.cpp
- test.h

