Date: Sat, 11 Mar 2006 14:19:22 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern link_elf.c Message-ID: <200603111419.k2BEJMQv005037@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emaste 2006-03-11 14:19:22 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/kern link_elf.c
Log:
MFC link_elf.c:1.86 to RELENG_5:
Check to see if the hash table is present in link_elf_lookup_symbol()
before dereferencing it. Certain corrupt kernel modules might not have
a valid hash table, and would cause a kernel panic when they were loaded.
Instead of panic'ing, the kernel now prints out a warning that it is
missing the symbol hash table.
Approved by: re (mux)
Revision Changes Path
1.81.2.1 +6 -0 src/sys/kern/link_elf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603111419.k2BEJMQv005037>
