CVSROOT:        /cvs
Module name:    src
Changes by:     mes...@cvs.openbsd.org  2017/08/22 04:41:59

Modified files:
        sys/dev/ic     : ac97.c 

Log message:
Fix negative array index read. Coverity CID 1453243 and 1453334.

Check if cp->dev value is invalid prior to using it as an array index and only
then make the assignment si = &as->source_info[cp->dev].

OK tb@ and jsg@

Reply via email to