DragonFly BSD
DragonFly commits List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern imgact_elf.c

From: David Rhodus <drhodus@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 09:17:09 -0800 (PST)

drhodus     2004/03/29 09:17:09 PST

DragonFly src repository

  Modified files:
    sys/kern             imgact_elf.c 
  Make sure the ELF header size is not too large. This fixes a potential over
  flow that could happen in a number of places. In DragonFly we rely that the
  ELF header will be in the first page. Though the ABI specification does not
  require this it is always true in practice.
  Glanced at FreeBSD but found it be incomplete. Possibly more bounds
  checking is needed for other things here, though futher investigation is
  needed first.
  Revision  Changes    Path
  1.18      +7 -6      src/sys/kern/imgact_elf.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]