forked from security/hakurei
internal/pkg: ignore typeflag 'g'
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -199,6 +199,10 @@ func (a *tarArtifact) Pathname() (*check.Absolute, error) {
|
||||
}
|
||||
break
|
||||
|
||||
case tar.TypeXGlobalHeader:
|
||||
// ignore
|
||||
break
|
||||
|
||||
default:
|
||||
return DisallowedTypeflagError(typeflag)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user