FreeBSD/src 691a834 (r354664)usr.sbin/sesutil sesutil.c

sesutil: fix an out-of-bounds array access

sesutil would allow the user to toggle an LED that was one past the maximum
element.  If he tried, ENCIOC_GETELMSTAT would return EINVAL.

Reported by:    Coverity
Coverity CID:   1398940
MFC after:      2 weeks
Sponsored by:   Axcient
DeltaFile
+1-1usr.sbin/sesutil/sesutil.c
+1-11 files

UnifiedSplitRaw