ariff 2007-06-03 10:56:23 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm dsp.c mixer.c sound.c
Log:
Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
Things can get ugly without it due to uninitialized class. RELENG_6 need
a simmilar, but different treatment as well.
err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
MFC after: 1 day
Revision Changes Path
1.104 +2 -1 src/sys/dev/sound/pcm/dsp.c
1.60 +2 -1 src/sys/dev/sound/pcm/mixer.c
1.114 +8 -4 src/sys/dev/sound/pcm/sound.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"