[Cel] #98: recast (celhpf) could build non multiple of 2 points paths but traverses it like so
"Cel" <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.tracker |
|---|---|
| Message-ID | <[email protected]> |
#98: recast (celhpf) could build non multiple of 2 points paths but traverses it like so ---------------------+------------------------------------------------------ Reporter: weltall | Type: defect Status: new | Priority: major Milestone: | Component: other plugins Version: 2.0 | Keywords: ---------------------+------------------------------------------------------ The path initialization in celHPath::Initialize takes for granted that a path will always be a multiple of 2 but it can happen this isn't the case and when it's not it will crash for a null pointer access. The attached patch can fix the issue but I consider myself it as an hack (even more as no one knows where is the mistake: should path points be in multiple of 2 or not? for the first then the mistake lies in the building of the path, for the second the mistake lies in the initialization of the path) -- Ticket URL: <http://www.crystalspace3d.org/trac/cel/ticket/98> Cel <http://www.crystalspace3d.org/> Crystal Space - the free 3D engine ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/