Pvm : Pvm analysis 1 : Use After Free at cmds.c:499
|
|
| 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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$param_1 >= 3 aliases->a_link->a_num >= 1 strlen(aliases->a_link->a_name) = strlen(((char*)$param_2)[8]) aliases->a_link != aliases |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Postconditions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
aliases->a_link->a_link->a_rlink' = aliases->a_link->a_rlink aliases->a_link->a_num' = -1 aliases->a_link->a_rlink' = 0 *aliases->a_link->a_name' is freed *aliases->a_link->a_args' is freed aliases->a_link->a_rlink->a_link' = aliases->a_link->a_link aliases->a_link->a_link' = 0 *aliases->a_link' is freed ac' = $param_1 ap' = aliases->a_link ap' = &$heap_240182 ap2' = aliases->a_link args' = $param_2 + 16 av' = $param_2 bytes_after(&$heap_240182)' = 48 $heap_240182' is allocated by malloc $heap_240182' is allocated bytes_before(&$heap_240182)' = 0 ((char*)&$heap_240182)[16]' = &$heap_240183 ((char*)&$heap_240182)[24]' = $param_1 - 2 ((char*)&$heap_240182)[32]' = &$heap_240184 $heap_240183' = ((char*)*$param_2)[8] bytes_after(&$heap_240183)' = strlen(((char*)$param_2)[8]) + 1 $heap_240183' is allocated by malloc $heap_240183' is allocated bytes_before(&$heap_240183)' = 0 strlen(&$heap_240183)' = strlen(((char*)$param_2)[8]) bytes_after(&$heap_240184)' = 8 * $param_1 - 8 $heap_240184' is allocated by malloc $heap_240184' is allocated bytes_before(&$heap_240184)' = 0 name' = ((char*)$param_2)[8] num' = -1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
