diff options
author | Elliott Hughes <enh@google.com> | 2020-10-14 13:16:49 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-10-15 15:47:06 -0500 |
commit | 6a5b8bf6cb7a5f481c3bab6fb285d977851e4e2f (patch) | |
tree | 5e93ce36eef4c680cb005aa5f8afa33c0055f2e0 /toys/posix/pwd.c | |
parent | 8eb9d6e0d3217bd0b1ffba73b3dfda1f79787845 (diff) | |
download | toybox-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/pwd.c')
0 files changed, 0 insertions, 0 deletions