Searched hist:"523 af57ea24624de9430a0bf980b515ba7148b53" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/nctgpio/ |
H A D | nctgpio.c | diff 523af57ea24624de9430a0bf980b515ba7148b53 Wed Apr 20 03:17:18 CEST 2016 Conrad Meyer <cem@FreeBSD.org> nctgpio(4): Don't index past the end of sc->pins array
This driver thinks that the NCT_MAX_PIN index is a valid index in a few places (nct_attach() for-loop, as well as NCT_IS_VALID_PIN()). Allocate room for NCT_MAX_PIN as an index, that is, NCT_MAX_PIN + 1 elements.
Reported by: Coverity CIDs: 1353806, 1353807, 1353808, 1353809, 1353810 Sponsored by: EMC / Isilon Storage Division
|