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

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Jan 21 03:08:57 PST 2007


YONETANI Tomokazu wrote:
  Log:
  pbn * vn->sc_secsize may wraparound, because both pbn and vn->sc_secsize
  are of type int.  Cast to off_t before multiplication.
nice one!

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00012.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070121/5520b5ad/attachment-0022.obj>


More information about the Commits mailing list