pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference at cmds.c:497
|
|
|||||||||||||||||||||||||||||
| 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 | ||||||||||||
num >= 2 |
||||||||||||
| Postconditions | ||||||||||||
ap' = &$heap_443469 errno' != 0 bytes_after(&$heap_443469)' = 24 $heap_443469' is allocated by malloc $heap_443469' is allocated bytes_before(&$heap_443469)' = 0 ((char*)&$heap_443469)[16]' = &$heap_443471 ((char*)&$heap_443469)[8]' = &$heap_443470 ((char*)&$heap_443469)[12]' = num $heap_443470' = *name bytes_after(&$heap_443470)' = strlen(name) + 1 $heap_443470' is allocated by malloc $heap_443470' is allocated bytes_before(&$heap_443470)' = 0 strlen(&$heap_443470)' = strlen(name) tocttou($heap_443470)' = tocttou(*name) bytes_after(&$heap_443471)' = 4 * num + 4 $heap_443471' is allocated by malloc $heap_443471' is allocated bytes_before(&$heap_443471)' = 0 num' = 0 |
||||||||||||
