IGMP: validate the packets length in the DP 30/13430/2
authorNeale Ranns <nranns@cisco.com>
Wed, 11 Jul 2018 16:21:06 +0000 (09:21 -0700)
committerNeale Ranns <nranns@cisco.com>
Thu, 12 Jul 2018 10:26:10 +0000 (10:26 +0000)
commit582856273c96113a460896a5ff9aa9a29dc73336
treedea27e72aad1b1dbb5820e5571d0c87097831f47
parentdaa1276fbfdb11e9c705b5ea05e83570b8163ad8
IGMP: validate the packets length in the DP

thanks to coverity... validate that the length of the packet on
wire matches the size of the header based on the number of groups
and sources. drop those that don't match.

Change-Id: Iab3f3a835f6a43d9c73c5d502ea5ceccdd6985b0
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/plugins/igmp/igmp_input.c
src/plugins/igmp/igmp_query.c
src/plugins/igmp/igmp_report.c