id summary reporter owner description type status milestone component version severity resolution keywords cc 9324 boost\include\boost-1_53\boost\asio\detail\impl\signal_set_service.ipp Off by One Error Oscar Deits chris_kohlhoff "In the function {{{ boost::system::error_code signal_set_service::add( signal_set_service::implementation_type& impl, int signal_number, boost::system::error_code& ec) }}} The guard statement {{{ // Check that the signal number is valid. if (signal_number < 0 || signal_number > max_signal_number) { ec = boost::asio::error::invalid_argument; return ec; } }}} has an Off-by-One error. The guard statement should read {{{ // Check that the signal number is valid. if (signal_number < 0 || signal_number >= max_signal_number) { ec = boost::asio::error::invalid_argument; return ec; } }}} " Bugs new To Be Determined asio Boost 1.54.0 Problem