cvs commit: src/sys/kern imgact_elf.c

David Rhodus drhodus at
Mon Mar 29 09:17:31 PST 2004

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

More information about the Commits mailing list