ip-packet: Fix "packet too short" error when parsing fragmented IPv4 packets
authorTobias Brunner <tobias@strongswan.org>
Fri, 1 Sep 2017 06:57:56 +0000 (08:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Sep 2017 08:28:54 +0000 (10:28 +0200)
commitb3cc46381d7ddcb163f93064e81207cbff348834
tree748308e8a95b3d036aff069129c822fadf6bd1e7
parent42aa56961745048ddb5036d8b148aee61011930c
ip-packet: Fix "packet too short" error when parsing fragmented IPv4 packets

Only attempt to parse the transport header of an IPv4 packet if it's
not fragmented or the first fragment.
src/libipsec/ip_packet.c