CVSROOT: /cvs Module name: src Changes by: [email protected] 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@
