pvm3.4.6 : pvm3.4.6 analysis 2 : Buffer Overrun at trcfile.c:2928
|
|
| Legend | [ X ] |
|---|---|
|
Warning Location
Contributes Parse Error Other Warning Two or More Loop Iterations On Execution Path Comment Macro Preprocessor Include Keyword Preprocessed Away | |
| Legend | ||
|---|---|---|
| Warning Location | Contributes | Parse Error |
| Other Warning | Two or More Loop Iterations | On Execution Path |
| Comment | Macro | Preprocessor |
| Include | Keyword | Preprocessed Away |
| Source | Language: C | Show LegendHide Legend | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
| Preconditions | ||||||||||||
TRC_DID_TRIE[36].valid != 0 TRC_DID_TRIE[36].value = 0 strlen(TRC_DID_TRIE[36].str) <= 8 strlen(TRC_DID_TRIE[36].str) >= 1 TRC_DID_TRIE >= 3520 $input_12 = 47 $input_585524 <= 8 $input_585524 = strlen(TRC_DID_TRIE[36].str) $input_585524 >= 1 $input_586588 <= 1024 $input_586588 >= 1 $input_589476 >= 2 $input_605660 = 47 $input_605676 = 34 $input_605692 = 34 $input_605708 != 10 $input_605708 != 32 $input_605708 != 9 $input_605708 <= 254 $input_605708 >= -1 $input_605724 != 10 $input_605724 != 32 $input_605724 != 34 $input_605724 != 9 $input_605724 <= 254 $input_605724 >= -1 |
||||||||||||
| Postconditions | ||||||||||||
DD' = &$heap_433902 TD' = &$heap_433900 c' = $input_605724 did[0]' = *TRC_DID_TRIE[36].str strlen(&did[0])' = $input_585524 strlen(&diddesc[0])' = $input_586588 done' >= -1 done' <= 0 dtstr[0]' = $input_605708 errno' != 0 $heap_433900' = &$heap_433901 bytes_after(&$heap_433900)' = 36 $heap_433900' is allocated by malloc $heap_433900' is allocated bytes_before(&$heap_433900)' = 0 ((char*)&$heap_433900)[16]' = -1 ((char*)&$heap_433900)[20]' = -1 ((char*)&$heap_433900)[24]' = &$heap_433902 ((char*)&$heap_433900)[28]' = 1 ((char*)&$heap_433900)[32]' = 0 ((char*)&$heap_433900)[4]' = eid ((char*)&$heap_433900)[8]' = entry_exit ((char*)&$heap_433900)[12]' = index $heap_433901' = *name bytes_after(&$heap_433901)' = strlen(name) + 1 $heap_433901' is allocated by malloc $heap_433901' is allocated bytes_before(&$heap_433901)' = 0 strlen(&$heap_433901)' = strlen(name) tocttou($heap_433901)' = tocttou(*name) $heap_433902' = &$heap_433903 bytes_after(&$heap_433902)' = 24 $heap_433902' is allocated by malloc $heap_433902' is allocated bytes_before(&$heap_433902)' = 0 ((char*)&$heap_433902)[16]' = -1 ((char*)&$heap_433902)[20]' = 0 ((char*)&$heap_433902)[4]' = -1 ((char*)&$heap_433902)[8]' = -1 ((char*)&$heap_433902)[12]' = 0 $heap_433903' = -1 bytes_after(&$heap_433903)' = 16 $heap_433903' is allocated by malloc $heap_433903' is allocated bytes_before(&$heap_433903)' = 0 ((char*)&$heap_433903)[4]' = &$heap_433904 ((char*)&$heap_433903)[8]' = &$heap_433905 ((char*)&$heap_433903)[12]' = 0 $heap_433904' = *TRC_DID_TRIE[36].str bytes_after(&$heap_433904)' = $input_585524 + 1 $heap_433904' is allocated by malloc $heap_433904' is allocated bytes_before(&$heap_433904)' = 0 strlen(&$heap_433904)' = $input_585524 tocttou($heap_433904)' = tocttou(did) bytes_after(&$heap_433905)' = $input_586588 + 1 $heap_433905' is allocated by malloc $heap_433905' is allocated bytes_before(&$heap_433905)' = 0 strlen(&$heap_433905)' = $input_586588 tocttou($heap_433905)' = tocttou(diddesc) i' = $input_589476 + 1 |
||||||||||||
