aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 09:15:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 09:15:03 +0200
commit678261844d162112cc9268e8082be580f7218525 (patch)
tree71ff44fdc72a96561a7f2ed9743ff72da3b95b1d /Makefile.am
parenta585b2a1dacdb109f445b6599d22d719903461d5 (diff)
Fix null-pointer dereference in restore_unpack
Use a seperate variable to iterate over directory children and don't modify n. Otherwise, the chown/chmod code below derefernces a null pointer when trying to access n->name, n->uid and n->gid. Bug found using scan-build. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions