View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000321 | file | General | public | 2022-02-27 13:12 | 2022-03-16 11:59 |
| Reporter | vmurashev | Assigned To | christos | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Product Version | 5.41 | ||||
| Fixed in Version | 5.42 | ||||
| Summary | 0000321: memory double free if to invoke test with unexpected count of arguments | ||||
| Description | Please take a looks at test/test.c if (argc != 3) { (void)fprintf(stderr, "Usage: %s TEST-FILE RESULT\n", prog); magic_close(ms); goto bad; } ... bad: free(desired); magic_close(ms); return e; You can see that magic_close(ms) is called twice in such case | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-02-27 13:12 | vmurashev | New Issue | |
| 2022-03-16 11:59 | christos | Assigned To | => christos |
| 2022-03-16 11:59 | christos | Status | new => assigned |
| 2022-03-16 11:59 | christos | Status | assigned => resolved |
| 2022-03-16 11:59 | christos | Resolution | open => fixed |
| 2022-03-16 11:59 | christos | Fixed in Version | => 5.42 |
| 2022-03-16 11:59 | christos | Note Added: 0003708 |