]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Validate the fields before accessing it
authorMobashshera Rasool <mrasool@vmware.com>
Mon, 26 Jul 2021 13:35:31 +0000 (06:35 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Tue, 27 Jul 2021 09:12:30 +0000 (02:12 -0700)
commit88ea79ad94389a920811bdfffe115082bcd021ea
tree65572a76976191df90da6603fd402d9524d4809a
parent53d7080980bb4e3bf6ef053673ebc560c5412103
pimd: Validate the fields before accessing it

This commit is to correct the order in which the fields are
accessed while verifying it. First the fields should be
verified, and if it is valid then access it.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
pimd/pim_igmp.c
pimd/pim_igmp.h