Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(pkgdata): handle empty names in MakeDeb (#85)
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
- Loading branch information