HomeFreeBSD

ixgbe: prevent PBA read over eeprom word size

Description

ixgbe: prevent PBA read over eeprom word size

DPDK commit message

net/ixgbe/base: prevent untrusted loop bound
Added length check against EEPROM size in words to prevent untrusted
loop bound reported by static code analysis.

Signed-off-by: Dawid Zielinski <dawid.zielinski@intel.com>

Obtained from: DPDK (6b58617)
MFC after: 1 week

Details

Provenance
Dawid Zielinski <dawid.zielinski@intel.com>Authored on Sep 20 2024, 3:33 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 20 2024, 3:33 AM
Parents
rGcc9944183187: ixgbe: improve Atom C3000 SWFW semaphore acq
Branches
Unknown
Tags
Unknown