Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 19:17:32 +0000 (UTC)
From:      John Baldwin <jhb@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:  <200510311917.j9VJHX1D073987@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311917.j9VJHX1D073987>