git: DragonFly_RELEASE_3_2 kernel - Detect edge cases in ELF note handling

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


commit fd6bd22e04cec2312688e1544c5a138d51497dd7
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/fd6bd22e04cec2312688e1544c5a138d51497dd7


-- 
DragonFly BSD source repository



More information about the Commits mailing list