cvs commit: src/sys/dev/disk/vn vn.c

YONETANI Tomokazu y0netan1 at crater.dragonflybsd.org
Sun Jan 21 02:38:16 PST 2007


y0netan1    2007/01/21 02:37:29 PST

DragonFly src repository

  Modified files:
    sys/dev/disk/vn      vn.c 
  Log:
  pbn * vn->sc_secsize may wraparound, because both pbn and vn->sc_secsize
  are of type int.  Cast to off_t before multiplication.
  
  Revision  Changes    Path
  1.30      +1 -1      src/sys/dev/disk/vn/vn.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/vn/vn.c.diff?r1=1.29&r2=1.30&f=u





More information about the Commits mailing list