pvm3.4.6 : pvm3.4.6 analysis 2 : Integer Overflow of Allocation Size at lpvmgen.c:3124
|
|
| 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 | ||||||||||||
&$unknown_4398071 != 0 $unknown_4398072 = 58 strlen(&$unknown_4398072) >= 3 ((char*)&$unknown_4398072)[2] != 0 ((char*)&$unknown_4398072)[2] != 58 ((char*)&$unknown_4398072)[1] = 58 $input_12 >= 1 $input_342980 >= 0 $input_444 = &$unknown_4398071 |
||||||||||||
| Postconditions | ||||||||||||
buf[0]' = ((char*)&$unknown_4398072)[2] strlen(&buf[0])' = strlen(&$unknown_4398072) - 2 $heap_370384' = &$unknown_4398071 bytes_after(&$heap_370384)' = $input_12 + 1 $heap_370384' is allocated by malloc bytes_before(&$heap_370384)' = 0 strlen(&$heap_370384)' = $input_12 $heap_370385' = &$heap_370384 - 11 bytes_before(&$heap_370385)' = 0 $heap_370386' = $input_342988 bytes_after(&$heap_370386)' = $input_342980 + 1 $heap_370386' is allocated by malloc $heap_370386' is a non-heap object bytes_before(&$heap_370386)' = 0 strlen(&$heap_370386)' = $input_342980 n' = strlen(&$unknown_4398072) - 2 p' = &$unknown_4398072 + 2 q' = &$heap_370386 |
||||||||||||
