Boost C++ Libraries: Ticket #13425: bug in boost polygon resize https://svn.boost.org/trac10/ticket/13425 <p> The function: </p> <p> void handleResizingEdge45() in polygon_45_set_data.hpp:943 </p> <p> When resizing a vertical/horizontal edge, the code construct a rectangle_data&lt;int&gt; directly instead of using Unit template. When the coordinate_traits&lt;int64_t&gt; is specialized, this easily causes the integer overflow and lead to bogus result. </p> <p> Change int to Unit would be the simple fix. </p> <p> Thanks, </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13425 Trac 1.4.3 Kohei Takahashi Tue, 30 Jan 2018 01:07:50 GMT component changed; owner set https://svn.boost.org/trac10/ticket/13425#comment:1 https://svn.boost.org/trac10/ticket/13425#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Lucanus Simonson</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">polygon</span> </li> </ul> Ticket