Subject: [Boost-bugs] [Boost C++ Libraries] #10417: Possible signed integer overflow in boost/polygon/detail/scan_arbitrary.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-28 12:41:49
#10417: Possible signed integer overflow in boost/polygon/detail/scan_arbitrary.hpp
-------------------------------------+----------------------
Reporter: Nate Gallaher <nate@â¦> | Owner: ljsimons
Type: Bugs | Status: new
Milestone: To Be Determined | Component: polygon
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+----------------------
Caught by clang:
{{{
boost/polygon/detail/scan_arbitrary.hpp:174:33: signed integer overflow:
-2147483648 - 1 cannot be represented in type 'int'
}}}
as a result of {{{ min_y - 1 }}} where min_y = -2147483648 =
std::numeric_limits<int>::min()
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10417> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC