HomeFreeBSD

sesutil: fix an out-of-bounds array access

Description

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

Details

Provenance
asomersAuthored on
Parents
rS354663: libcompat: Correct rtld MLINKS
Branches
Unknown
Tags
Unknown