pbn * vn->sc_secsize may wraparound, because both pbn and vn->sc_secsize
commitb0e72518c4a39e8b8944a77b0f145527f79c0bb2
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 21 Jan 2007 10:37:29 +0000 (21 10:37 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 21 Jan 2007 10:37:29 +0000 (21 10:37 +0000)
tree9be674bb49fefe6c0c7968a93c1f5e162cb0e665
parentb39435471535f027d91a43c48e560f90549ac7f5
pbn * vn->sc_secsize may wraparound, because both pbn and vn->sc_secsize
are of type int.  Cast to off_t before multiplication.
sys/dev/disk/vn/vn.c