diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-02-19 19:51:58 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-02-19 19:51:58 +0100 |
commit | 711650ee7c0799c56c177dd363fe43dc9492c3aa (patch) | |
tree | 2aa760f6527713877472f7fe666d1a5d5c607f3e /tests/tar/sparse-files/pax-gnu0-1.tar | |
parent | 05defb211e6da0297b72c8af9b177196426aed01 (diff) |
Fix: libfstree: add an assert the canonicalize_name return value
Since the canonicalize_name function only fails if the path
contains ".." and the one we are constructing from the scanned
fstree (built using canonicalized names), it should NEVER fail.
However, coverity does get concerned, because we are checking the
return value elesewhere. So do what we do at other, similar locations
and add an assert().
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar/sparse-files/pax-gnu0-1.tar')
0 files changed, 0 insertions, 0 deletions