diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 09:20:10 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 09:20:10 +0200 |
commit | 00e4e502a9ff5a60df07e54d344123347da32e80 (patch) | |
tree | 4db84aff0bc1e09e5eca123fb9551cc1d7d6fbc5 /tar/sqfs2tar.c | |
parent | 009aeeea2aecbc35399eb74f7f9178e35fdbd754 (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 'tar/sqfs2tar.c')
0 files changed, 0 insertions, 0 deletions