summaryrefslogtreecommitdiff
path: root/tests/libtar/tar_xattr_bin.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-02-19 19:51:58 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-02-19 19:51:58 +0100
commit711650ee7c0799c56c177dd363fe43dc9492c3aa (patch)
tree2aa760f6527713877472f7fe666d1a5d5c607f3e /tests/libtar/tar_xattr_bin.c
parent05defb211e6da0297b72c8af9b177196426aed01 (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/libtar/tar_xattr_bin.c')
0 files changed, 0 insertions, 0 deletions