cvs commit: src/sys/kern vfs_aio.c

From: Christian S.J. Peron <csjp_at_FreeBSD.org>
Date: Sun, 15 Jan 2006 01:55:45 +0000 (UTC)
csjp        2006-01-15 01:55:45 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_aio.c 
  Log:
  Initialize ki to p->p_aioinfo after we know it's going to be referencing
  a valid kaioinfo structure. This avoids a potential NULL pointer dereference.
  
  Found with:     Coverity Prevent(tm)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.206     +2 -2      src/sys/kern/vfs_aio.c
Received on Sun Jan 15 2006 - 01:55:46 UTC