cvs commit: src/sys/kern link_elf.c

John Baldwin jhb at FreeBSD.org
Mon Oct 31 11:17:33 PST 2005


jhb         2005-10-31 19:17:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             link_elf.c 
  Log:
  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.
  
  Tested by:      Benjamin Close Benjamin dot Close at clearchain dot com
  MFC after:      1 week
  
  Revision  Changes    Path
  1.86      +6 -0      src/sys/kern/link_elf.c


More information about the cvs-src mailing list