git: kernel - Detect edge cases in ELF note handling

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 19 10:46:07 PDT 2012


commit d48ef01c7cff8bc34be412f607b08d7c9c593fe4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Oct 19 10:41:01 2012 -0700

    kernel - Detect edge cases in ELF note handling
    
    * Do more stringent tests on ELF note structures and headers to
      avoid possible panics on page-crossings.
    
    * Patch constructed from examination of a similar fix made to FreeBSD
      cvs/1.227.  However, our patch is written a different way.
    
    Reported-by: Lukasz Wojcik <lukasz.wojcik at zoho.com>

Summary of changes:
 sys/kern/imgact_elf.c |   37 +++++++++++++++++++++++++++++++++++--
 1 files changed, 35 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d48ef01c7cff8bc34be412f607b08d7c9c593fe4


-- 
DragonFly BSD source repository



More information about the Commits mailing list