cvs commit: src/sys/kern imgact_elf.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Apr 7 23:37:01 PDT 2004


marcel      2004/04/07 23:37:00 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             imgact_elf.c 
  Log:
  Do not assume that the initial thread (i.e. the thread with the ID
  equal to the process ID) is still present when we dump a core. It
  already may have been destroyed. In that case we would end up
  dereferencing a NULL pointer, so specifically test for that as well.
  
  Reported & tested by: Dan Nelson <dnelson at allantgroup.com>
  
  Revision  Changes    Path
  1.147     +9 -6      src/sys/kern/imgact_elf.c


More information about the cvs-src mailing list