[Toybox] [PATCH] dirtree_path: always honor size request.

enh enh at google.com
Thu Oct 15 14:49:56 PDT 2020


thanks. your cleanup works too --- i'd used xzalloc because i'm
paranoid, but since tar is using strcat() to append "/" that's fine
:-)

On Thu, Oct 15, 2020 at 1:47 PM Rob Landley <rob at landley.net> wrote:
>
> On 10/14/20 3:19 PM, enh via Toybox wrote:
> > 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().
>
> Oops. Applied.
>
> Thanks,
>
> Rob



More information about the Toybox mailing list