kernel - Fix bug in physio()
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 20 Feb 2017 02:14:17 +0000 (18:14 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 20 Feb 2017 02:14:17 +0000 (18:14 -0800)
commit07ef76e0b8786384a0db17c7293cf2e7835e2bad
treef276f3585b4c885eb334eb21a3e4d70f686b82b2
parentc8671ca91dea66674e6ab13de620bacbbc3cb5a6
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
sys/kern/kern_physio.c