Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testutil/pkgdata: Handle empty names in MakeDeb() #85

Merged
merged 1 commit into from
Aug 28, 2023

Commits on Jun 22, 2023

  1. testutil/pkgdata: Handle empty names in MakeDeb()

    MakeDeb() now expects that all provided tar entries have a non-empty
    name. Otherwise it panics on array out of bounds access. Fix it.
    
    We can create tarballs containing entries with empty name just fine. It
    makes GNU tar fail when extracting, but it fails gracefully with
    
      tar: Substituting `.' for empty member name
      -rw-r--r-- root/root         0 1970-01-01 01:00
      tar: .: Cannot open: File exists
      tar: Exiting with failure status due to previous errors
    woky committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    990f689 View commit details
    Browse the repository at this point in the history