DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Jan 2007 02:37:30 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]