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

git: kernel - Detect edge cases in ELF note handling


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2012 10:46:07 -0700 (PDT)

commit d48ef01c7cff8bc34be412f607b08d7c9c593fe4
Author: Matthew Dillon <dillon@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@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



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