We've also found a few related places where we print member names without having checked them at all
arfile.cc: return _error->Error(_("Invalid archive member header %s"), Head.Name);
extracttar.cc: _error->Warning(_("Unknown TAR header type %u, member %s"),(unsigned)Tar->LinkFlag,Tar->Name);
We're going to fold those patches into there as well, removing the name arguments, as they might not be nul terminated.
We've also found a few related places where we print member names
without having checked them at all
arfile.cc: >Error( _("Invalid archive member header %s"), Head.Name);
return _error-
extracttar.cc: >Warning( _("Unknown TAR header type %u, member %s"),(unsigned) Tar->LinkFlag, Tar->Name) ;
_error-
We're going to fold those patches into there as well, removing the
name arguments, as they might not be nul terminated.