Date: Wed, 7 Apr 2004 23:37:00 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_elf.c Message-ID: <200404080637.i386b0ge069787@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@allantgroup.com>
Revision Changes Path
1.147 +9 -6 src/sys/kern/imgact_elf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404080637.i386b0ge069787>
