From: Christian Herdtweck Date: Tue, 9 Dec 2014 17:52:00 +0000 (+0100) Subject: fixed possible reason for broken icmp packages: restricted read of icmp payload data... X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=8d04847b28fa2e0bad7929ff3d3c9157ed7b55eb;p=pingcheck fixed possible reason for broken icmp packages: restricted read of icmp payload data; also moved def of buffer size from h to cpp --- diff --git a/src/icmp/icmpv4packet.cpp b/src/icmp/icmpv4packet.cpp index 02c06f2..21a3b58 100644 --- a/src/icmp/icmpv4packet.cpp +++ b/src/icmp/icmpv4packet.cpp @@ -9,6 +9,7 @@ #include #include +#include #include "boost_assert_handler.h" @@ -17,6 +18,7 @@ using boost::asio::ip::address; using boost::date_time::time_resolution_traits_adapted64_impl; using boost::posix_time::ptime; using boost::posix_time::microsec_clock; +using boost::scoped_array; using I2n::Logger::GlobalLogger; //-----------------------------------------------------------------------------