diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 09:17:54 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 09:17:54 +0200 |
commit | 009aeeea2aecbc35399eb74f7f9178e35fdbd754 (patch) | |
tree | e5c1369478d507bdea203439576d03b766bdcafa /tests/tar/format-acceptance/v7.tar | |
parent | 6a810548bb9ea0f950ad8cf0a2c008e1cd8fcf23 (diff) |
Fix alloca'd memory being freed in fstree_from_dir
Most code path that use 'extra' allocate it using calloc/malloc/strdup
and then converge into a common path that uses free() on extra.
This commit removes a stray one that uses alloca for symlink targets,
so we don't free() a stack buffer further down in the common path.
Bug found using scan-build.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar/format-acceptance/v7.tar')
0 files changed, 0 insertions, 0 deletions