cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

John Baldwin jhb at FreeBSD.org
Fri Mar 28 20:48:07 PDT 2008


jhb         2008-03-29 03:48:06 UTC

  FreeBSD src repository

  Modified files:
    gnu/usr.bin/gdb/kgdb kld.c 
  Log:
  Initialize the head pointer in kld_current_sos() to NULL to avoid returning
  a junk pointer and possibly causing a seg fault if we don't have any
  non-kernel klds (or are unable to walk the list due to core / kernel
  mismatch).
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.7       +1 -0      src/gnu/usr.bin/gdb/kgdb/kld.c


More information about the cvs-src mailing list