cvs commit: src/sys/kern link_elf.c
Ed Maste
emaste at FreeBSD.org
Sat Mar 11 14:19:23 UTC 2006
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
More information about the cvs-src
mailing list