cvs commit: src/sys/kern imgact_elf.c

Jacques Vidrine nectar at FreeBSD.org
Thu Mar 18 08:33:06 PST 2004


nectar      2004/03/18 08:33:05 PST

  FreeBSD src repository

  Modified files:
    sys/kern             imgact_elf.c 
  Log:
  Verify more bits of the ELF header: the program header table
  entry size and the ELF version.  Also, avoid a potential integer
  overflow when determining whether the ELF header fits entirely
  within the first page.
  
  Reviewed by:    jdp
  
  A panic when attempting to execute an ELF binary with a bogus program
  header table entry size was
  
  Reported by:    Christer Öberg <christer.oberg at texonet.com>
  
  Revision  Changes    Path
  1.145     +6 -6      src/sys/kern/imgact_elf.c


More information about the cvs-all mailing list