View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0022948 | Community | OCCT:Visualization | public | 2012-01-30 20:12 | 2012-01-31 09:23 |
| Reporter | Pawel | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Platform | A | OS | L | ||
| Product Version | 6.5.2 | ||||
| Fixed in Version | 6.5.3 | ||||
| Summary | 0022948: AIS_Shape.cxx: array index out of bounds ... | ||||
| Description | In the line 124 an array index exceeding array size is used: B.Get(X[1], Y[1], Z[1], X[2], Y[2], Z[2]); Change the line to: B.Get(X[0], Y[0], Z[0], X[1], Y[1], Z[1]); Besides, only 10 fields of the 'Indx' array are assigned in lines 121-123 Indx [0]=1;Indx [1]=2;Indx [2]=3;Indx [3]=4;Indx [4]=5;Indx [5]=6;Indx [6]=7; Indx [7]=8;Indx [8]=1;Indx [9]=2;Indx [10]=6;Indx [10]=5;Indx [10]=3; Indx [10]=4;Indx [10]=8;Indx [10]=7; | ||||
| Additional information and documentation updates | This problem is very similar to: http://tracker.dev.opencascade.org/view.php?id=22947 | ||||
| Tags | No tags attached. | ||||
| Test case number | Not needed | ||||
|
|
This problem occurs in disabled code; the dead code is cleaned now in context of another bug fix (#22900) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-01-30 20:12 | Pawel | New Issue | |
| 2012-01-30 20:12 | Pawel | Assigned To | => san |
| 2012-01-31 09:22 |
|
Test case number | => Not needed |
| 2012-01-31 09:22 |
|
Note Added: 0019317 | |
| 2012-01-31 09:22 |
|
Status | new => closed |
| 2012-01-31 09:23 |
|
Resolution | open => fixed |
| 2012-01-31 09:23 |
|
Fixed in Version | => 6.5.3 |
| 2012-01-31 09:23 |
|
Relationship added | related to 0022947 |