]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: initialize all data members 3705/head 3707/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 11 Feb 2015 20:48:34 +0000 (21:48 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 11 Feb 2015 21:45:49 +0000 (22:45 +0100)
commitb24a01b50a98fa1e3519f47c7f29136dee5c9469
tree615f8b0d324058c476f1a2c68c53771bb499b29c
parentaa03d6a84c5f92a78ca1a54f2107be2027cbb2c2
erasure-code: initialize all data members

As a safeguard against unitialized memory in isa and jerasure
plugins. Since the init method is supposed to be called before the
plugin is used, it is mostly not relevant. However it can lead to
problems that are non trivial to figure out.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/erasure-code/isa/ErasureCodeIsa.h
src/erasure-code/jerasure/ErasureCodeJerasure.h