fix off-by-one in bounds test
authorjsg <jsg@openbsd.org>
Thu, 8 Feb 2024 00:00:16 +0000 (00:00 +0000)
committerjsg <jsg@openbsd.org>
Thu, 8 Feb 2024 00:00:16 +0000 (00:00 +0000)
commitd2e03d4926cc65b7dc3b2dd23d1d3342b04c7b4b
tree349c1976af6a9f67c637ba7eaaa94628d1d6affc
parent730c5d0121417b93e90d9ca070599dcea6858a5b
fix off-by-one in bounds test

found by "buffer overflow 'sc->sc_pins[i]->funcs' 10 <= 10" smatch error
ok miod@ kettenis@
sys/dev/fdt/sxipio.c