On Sat, Nov 01, 2014 at 08:36:37PM +0000, Michael Forney wrote:
> -     snprintf(h->uname, sizeof h->uname, "%s", pw->pw_name);
> -     snprintf(h->gname, sizeof h->gname, "%s", gr->gr_name);
> +     snprintf(h->uname, sizeof h->uname, "%s", pw ? pw->pw_name : "");
> +     snprintf(h->gname, sizeof h->gname, "%s", gr ? gr->gr_name : "");

The patches look good, thanks!

Just a small clarification on this one, do other tar implementations
do the same here?

Reply via email to