]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
erasure-code/shec/ErasureCodeShec.cc: use memset to fill integer VLAs
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Feb 2016 14:26:57 +0000 (15:26 +0100)
committerSage Weil <sage@redhat.com>
Wed, 9 Nov 2016 19:44:57 +0000 (14:44 -0500)
commit6ab3ff7fbb602fa6ab390ae80f90c70de7de548d
tree9d55d99d20cc00425935874ecf65d3be0c0c36d8
parentda9ede90cd257ff605ab3ebfcc1aa995f655f1cc
erasure-code/shec/ErasureCodeShec.cc: use memset to fill integer VLAs

Fix for:

CID 1313448 (#1 of 1): Uninitialized scalar variable (UNINIT)
 uninit_use: Using uninitialized value want[i + this->k]

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/erasure-code/shec/ErasureCodeShec.cc