git: DragonFly_RELEASE_4_6 kernel - Fix bug in physio()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 19 18:24:28 PST 2017


commit fafb22a8cf3310fd1b844346af268d7e2951dca6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 19 18:14:17 2017 -0800

    kernel - Fix bug in physio()
    
    * Fix an integer overflow in physio() when attempting to dd a block size
      >= 2G.  An int was being used instead of size_t.
    
    Reported-by: tpchin
    Bug: 2981

Summary of changes:
 sys/kern/kern_physio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list