git: kernel - Fix bug in physio()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 19 18:15:41 PST 2017


commit 07ef76e0b8786384a0db17c7293cf2e7835e2bad
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/07ef76e0b8786384a0db17c7293cf2e7835e2bad


-- 
DragonFly BSD source repository



More information about the Commits mailing list