aboutsummaryrefslogtreecommitdiff
path: root/tests/fstree_xattr.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 09:20:10 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 09:20:10 +0200
commit00e4e502a9ff5a60df07e54d344123347da32e80 (patch)
tree4db84aff0bc1e09e5eca123fb9551cc1d7d6fbc5 /tests/fstree_xattr.c
parent009aeeea2aecbc35399eb74f7f9178e35fdbd754 (diff)
Fix use of uninitialized xattr structure
The refactor of the xattr table grow code merged all allocation code paths into realloc(), including the initial allocation. This means that the xattr structure is used uninitialized. This commit makes sure the reallocated structure is alwayes cleared. Bug found using scan-build. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fstree_xattr.c')
0 files changed, 0 insertions, 0 deletions