View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004797 | ardour | bugs | public | 2012-03-27 23:37 | 2020-04-19 20:16 |
| Reporter | ahurst | Assigned To | cth103 | ||
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0-beta3 | ||||
| Target Version | 3.0 | ||||
| Summary | 0004797: Out-of-bounds array access | ||||
| Description | High impact static analysis bug: An array is accessed out-of-bounds at libs/ardour/transient_detector.cc:155. The final iteration through the loop will access beyond the end of the array. | ||||
| Additional Information | 132 int buff_size = 1024; 133 int step_size = 64; 134 135 data = new Sample[buff_size]; 136 ... 152 for (int j = 0; j < buff_size;){ 153 154 Sample s = abs (data[j]); *** Overrunning dynamic array "data" of size 4096 bytes at position 4348 with index variable "j + step_size". 155 Sample s2 = abs (data[j + step_size]); ... 163 j = j + step_size; 164 } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-27 23:37 | ahurst | New Issue | |
| 2012-03-28 12:24 | cth103 | cost | => 0.00 |
| 2012-03-28 12:24 | cth103 | Target Version | => 3.0 beta4 |
| 2012-04-01 14:58 | cth103 | Note Added: 0013055 | |
| 2012-04-01 14:58 | cth103 | Status | new => resolved |
| 2012-04-01 14:58 | cth103 | Resolution | open => fixed |
| 2012-04-01 14:58 | cth103 | Assigned To | => cth103 |
| 2012-05-23 15:08 | cth103 | Target Version | 3.0 beta4 => 3.0 |
| 2020-04-19 20:16 | system | Note Added: 0023009 | |
| 2020-04-19 20:16 | system | Status | resolved => closed |