Improve range check to protect against overflow.
authorkettenis <kettenis@openbsd.org>
Mon, 12 Dec 2022 18:45:01 +0000 (18:45 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 12 Dec 2022 18:45:01 +0000 (18:45 +0000)
commitb8b628d8366fa32425f070b667dbd2f6fcbc1317
treeaeda9a693b94b233a418989a593a1970fcf3af01
parentff193b36716f1753ba1a68f908f4c31993e8b59e
Improve range check to protect against overflow.

ok patrick@
sys/arch/arm64/dev/aplpmu.c