cvs commit: src/sys/kern imgact_elf.c

David Rhodus drhodus at crater.dragonflybsd.org
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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.17&r2=1.18&f=h





More information about the Commits mailing list