cvs commit: src/sys/kern kern_msfbuf.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 3 22:11:07 PST 2005


dillon      2005/03/03 22:10:09 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_msfbuf.c 
  Log:
  msf_buf_alloc() can be called with a NULL vm_page_t when e.g. the first
  page cannot be easily located, typically due to a user buffer which is
  not faulted in.  Fix a NULL pointer dereference panic that occurs in that
  case.
  
  Revision  Changes    Path
  1.12      +3 -2      src/sys/kern/kern_msfbuf.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_msfbuf.c.diff?r1=1.11&r2=1.12&f=u





More information about the Commits mailing list