]> Zhao Yanbai Git Server - minix.git/commit
saved_proc in exception() may be NULL
authorTomas Hruby <tom@minix3.org>
Sat, 29 Aug 2009 19:26:46 +0000 (19:26 +0000)
committerTomas Hruby <tom@minix3.org>
Sat, 29 Aug 2009 19:26:46 +0000 (19:26 +0000)
commit50473107c21b7468602e60e50c6626bb9c10c46f
tree4a06aef088b9f711d144d99ea46de50e2253407f
parent42f0bf7dda713f1447f2369b2f925ade7266d16d
saved_proc in exception() may be NULL

If an exception happens in kernel while the kernel is booting and no processes
are running yet, saved_proc == NULL and priting any process related information
results in dumping rubish.

This check is mostly useful when debugging kernel stuff. Should _never_ happen
on a production kernel.
kernel/arch/i386/exception.c