1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/metadata
Peter Rajnoha ce8730b508 coverity: fix possible integer overflow
LVM2.2.02.112/lib/metadata/cache_manip.c:73: overflow_before_widen: Potentially overflowing expression "*pool_metadata_extents *vg->extent_size" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t" (64 bits, unsigned).
LVM2.2.02.112/lib/activate/dev_manager.c:217: overflow_before_widen: Potentially overflowing expression "seg_status->seg->len * extent_size" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t" (64 bits, unsigned).
LVM2.2.02.112/lib/activate/dev_manager.c:217: overflow_before_widen: Potentially overflowing expression "seg_status->seg->le * extent_size" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t" (64 bits, unsigned).
2014-11-12 10:03:27 +01:00
..
cache_manip.c coverity: fix possible integer overflow 2014-11-12 10:03:27 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c pre-release 2014-11-11 14:13:00 +00:00
lv.c pre-release 2014-11-11 14:13:00 +00:00
lv.h lv: lv_active_change add needs_exclusive flag 2014-11-05 15:29:43 +01:00
merge.c thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
metadata-exported.h libdm: still better API 2014-11-11 00:54:03 +01:00
metadata.c pre-release 2014-11-11 14:13:00 +00:00
metadata.h thin: validate unused thin pool 2014-11-04 15:28:00 +01:00
mirror.c cleanup: API get/set fixes 2014-11-10 22:05:48 +01:00
pool_manip.c cache: pending_delete fixes 2014-11-11 13:32:41 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pv_manip: check for pe_ranges 2014-10-30 23:58:49 +01:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: fix activation order 2014-11-10 22:05:48 +01:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h segtype: add SEG_ONLY_EXCLUSIVE flag 2014-11-10 22:05:48 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c cleanup: API get/set fixes 2014-11-10 22:05:48 +01:00
vg.c pre-release 2014-11-11 14:13:00 +00:00
vg.h vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00