7f0983ee33
Under some conditions ill-formed fragments might cause reassembly code to corrupt mbufs and/or crash. Let say the following fragments sequence: <ofs=0,len=100, flags=MF> <ofs=96,len=100, flags=MF> <ofs=200,len=0,flags=MF> <ofs=200,len=100,flags=0> can trigger the problem. To overcome such situation, added check that fragment length of incoming value is greater than zero. Fixes: |
||
---|---|---|
.. | ||
ip_frag_common.h | ||
ip_frag_internal.c | ||
Makefile | ||
meson.build | ||
rte_ip_frag_common.c | ||
rte_ip_frag_version.map | ||
rte_ip_frag.h | ||
rte_ipv4_fragmentation.c | ||
rte_ipv4_reassembly.c | ||
rte_ipv6_fragmentation.c | ||
rte_ipv6_reassembly.c |