aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/link.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-10-14 13:16:49 -0700
committerRob Landley <rob@landley.net>2020-10-15 15:47:06 -0500
commit6a5b8bf6cb7a5f481c3bab6fb285d977851e4e2f (patch)
tree5e93ce36eef4c680cb005aa5f8afa33c0055f2e0 /toys/posix/link.c
parent8eb9d6e0d3217bd0b1ffba73b3dfda1f79787845 (diff)
downloadtoybox-6a5b8bf6cb7a5f481c3bab6fb285d977851e4e2f.tar.gz
dirtree_path: always honor size request.
tar asks dirtree_path() to reserve space for a trailing '/', but recent changes broke that for the case that was resolving to just a strdup(). Caught by `export ASAN=1` and `make test_tar`.
Diffstat (limited to 'toys/posix/link.c')
0 files changed, 0 insertions, 0 deletions