]> xenbits.xensource.com Git - libvirt.git/commit
storage_conf.c: avoid overflow upon use of "z" or "Z" (zebi) suffix
authorJim Meyering <meyering@redhat.com>
Wed, 2 Sep 2009 07:58:28 +0000 (09:58 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 16:04:23 +0000 (18:04 +0200)
commitcff257f584345ad6eee3c2d26672c3c314e06399
treee0a45b1b5dfebef61e4abfae27c03fec75da8fc7
parent2e6bad311d2c6a5c178d7f35de7b01eaf80712f4
storage_conf.c: avoid overflow upon use of "z" or "Z" (zebi) suffix

* src/storage_conf.c (virStorageSize): Don't try to compute 1024^7,
since it's too large for a 64-bit type.
src/storage_conf.c