]> sourceware.org Git - lvm2.git/commit
libdm: do not read region before checking dms for NULL (Coverity)
authorBryn M. Reeves <bmr@redhat.com>
Mon, 17 Aug 2015 17:25:22 +0000 (18:25 +0100)
committerBryn M. Reeves <bmr@redhat.com>
Mon, 17 Aug 2015 17:37:16 +0000 (18:37 +0100)
commit8967776713e1be2d584bc8a9713eaaaf467d8ac7
tree2c2ea3e49b13bb7599012a717a0aba7e56eebb8e
parentd1c65d1b28c8942b4296da30dc95b7e7de33e5fe
libdm: do not read region before checking dms for NULL (Coverity)

dm_stats_get_area_start() attempts to assign a region pointer from
a stats handle before checking it is non-NULL: move the assignment
after the test.
libdm/libdm-stats.c
This page took 0.036358 seconds and 5 git commands to generate.