Mark Johnston 6c34dde83e igmp: Avoid an out-of-bounds access when zeroing counters
When verifying, byte-by-byte, that the user-supplied counters are
zero-filled, sysctl_igmp_stat() would check for zero before checking the
loop bound.  Perform the checks in the correct order.

Reported by:	KASAN
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2021-05-05 17:12:51 -04:00
..
2021-05-03 08:36:57 +00:00
2021-01-15 20:09:55 +01:00
2021-04-07 14:33:02 -04:00
2021-04-02 15:41:51 +03:00
2021-04-30 08:19:46 +02:00
2021-03-17 06:16:31 +11:00
2021-03-17 06:16:31 +11:00
2021-05-05 00:50:35 -06:00
2021-04-15 15:47:42 +03:00