netchild    2006-02-05 17:33:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pci    csapcm.c 
  Log:
  A pointer was checked for NULL after dereferencing it. The check is not
  needed here, except there's a bug which results in detaching the device
  twice.
  
  Move the NULL pointer check to the beginning of the function and convert
  it into a KASSERT.
  
  CID:            420
  Found with:     Coverity Prevent(tm)
  Discussed with: ariff
  MFC after:      5 days
  
  Revision  Changes    Path
  1.36      +4 -4      src/sys/dev/sound/pci/csapcm.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to