Fix integer overflows in iwm(4) and iwx(4) firmware file parsers.
authorstsp <stsp@openbsd.org>
Mon, 29 Aug 2022 17:59:12 +0000 (17:59 +0000)
committerstsp <stsp@openbsd.org>
Mon, 29 Aug 2022 17:59:12 +0000 (17:59 +0000)
commit389d05a87c457e843c311a53cbf67dd9064fa3da
treeb92c76dfc23725b6651bb842f0647a9b8e8e54f4
parentfb19a790ae70a9ffaacf020e367deddeda07eaf0
Fix integer overflows in iwm(4) and iwx(4) firmware file parsers.

Found by hshoexer and gerhard@, and reported to me by Christian Ehrhardt.

ok gerhard@
sys/dev/pci/if_iwm.c
sys/dev/pci/if_iwx.c