freebsd-nq/sys/dev/ntb
Conrad Meyer 2d6501b281 NTB: MFV 8c9edf63: Fix zero size or integer overflow in ntb_set_mw
A plain 32 bit integer will overflow for values over 4GiB.

Change the plain integer size to the appropriate size type in
ntb_set_mw.  Change the type of the size parameter and two local
variables used for size.

Even if there is no overflow, a size of zero is invalid here.

Authored by:	Allen Hubbe
Reported by:	Juyoung Jung
Obtained from:	Linux (Dual BSD/GPL driver)
Sponsored by:	EMC / Isilon Storage Division
2015-10-20 19:20:52 +00:00
..
if_ntb NTB: MFV 8c9edf63: Fix zero size or integer overflow in ntb_set_mw 2015-10-20 19:20:52 +00:00
ntb_hw NTB: MFV 2f887b9a: Rename Intel code names to platform names 2015-10-20 19:20:15 +00:00