bezier-curve.cpp:112: When i==pts.size(), pts[i] is out of bounds
Bug #812003 reported by
Reijo Tomperi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Jon A. Cruz |
Bug Description
In inkscape/
BezierCurve:
{
inner = D2<Bezier>
for (unsigned d = 0; d < 2; ++d) {
}
}
There is no real life test case for this, this was just spotted from the code when testing Cppcheck against inkscape, but it looks quite dangerous.
tags: | added: cppcheck |
Changed in inkscape: | |
assignee: | nobody → Jon A. Cruz (jon-joncruz) |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Confirmed → In Progress |
Changed in inkscape: | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Jon, do you have commit access to lib2geom?
If not committed to 2geom, the fix will be lost upon the next update.