In the BezierCurve ctor taking std::vector<Point>, the vector is accessed through an index that ranges from 0 through .size() instead of through .size() -1.
This was reported in Inkscape as https://bugs.launchpad.net/inkscape/+bug/812003
A patch to correct it is attached.
Patch to fix the index overrun