SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #153782

Back to the previous page... Back to the previous page

Test Case IDCandidate153782
Bad / Good / MixedBadBad test case
AuthorIARPA STONESOUP Test and Evaluation team
Associations
Test suite: 102  
Application: 18  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
See src/INSTALL file for instructions on how to install.
Submission date2015-10-06
DescriptionThis test case implements stack allocated buffer which, under certain inputs, gets erroneously free()'d. The test case takes a string as input and copies it to an internal array of size 64 allocated on the stack. This string is the converted to all caps and, if the resulting string's first letter
Metadata
- Base program: Gimp
- Source Taint: FILE_CONTENTS
- Data Type: HEAP_POINTER
- Data Flow: INDEX_ALIAS_50
- Control Flow: CALLBACK
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-590: Free of Memory not on the Heap on line(s): 160, 161, 162