Fix Boost API compatibility and pre-existing bugs
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 17:09:40 +0000 (18:09 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 17:09:40 +0000 (18:09 +0100)
commit548f8eadb065af1585be31759186dfb1b26e8191
treef95d540e97e4fde4d19091d940424edacf72ead0
parent0b6e8e6b9e6c4cdefd8425b931c6c9cd991aba5e
Fix Boost API compatibility and pre-existing bugs

Main changes:
- src/ip/ipv6header.cpp: Remove BOOST_ASSERT with bytes_type::size()
- src/config/configurationoptions.cpp: Use boost::shared_ptr
- src/tcp/tcpheader.cpp: Remove BOOST_ASSERT with bytes_type::size()
- src/host/pingerfactory.cpp: Fix system_error header include path
- src/host/networkinterface.hpp: Socket.native() -> Socket.native_handle()
- src/icmp/icmppinger.cpp: Use boost::function
- src/tcp/tcppinger.cpp: Use boost::function
- lib/boost-net-dns/boost/net/network_array.hpp: Use .data() for bytes_type

Bug fixes in src/host/messagepayload.cpp:
- Fix out-of-bounds access in append() debug assertion
  (extra_data_end used invalid index instead of data() + size())
- operator= uses resize() to properly grow vector when needed
src/host/messagepayload.cpp