View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000668 | FreeCAD | Bug | public | 2012-04-12 06:20 | 2012-04-12 09:25 |
Reporter | shoogen | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 0.12 | ||||
Fixed in Version | 0.13 | ||||
Summary | 0000668: getPole() does not provide proper bound checking | ||||
Description | An indexError should be raised instead of allowing random memory access. | ||||
Additional Information | On Win 7 (64bit) FreeCAD 0.13.0803 (32bit) the following python code reproducibly Crashes FreeCAD. >>> import Part >>> Part.BezierSurface().getPole(0,0) | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
Actually it's an error in OCC because the class documentation clearly says: //! Returns the pole of range UIndex, VIndex //! Raised if UIndex < 1 or UIndex > NbUPoles, or //! VIndex < 1 or VIndex > NbVPoles. But the exception isn't thrown |
|
git show 85e9e013abbb12dd22c477857aef38e73830ca1a |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-12 06:20 | shoogen | New Issue | |
2012-04-12 09:04 | wmayer | Note Added: 0001926 | |
2012-04-12 09:25 | wmayer | Note Added: 0001927 | |
2012-04-12 09:25 | wmayer | Status | new => closed |
2012-04-12 09:25 | wmayer | Resolution | open => fixed |
2012-04-12 09:25 | wmayer | Fixed in Version | => 0.13 |