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
|
break
|
||||||
|
|
||||||
|
case tar.TypeXGlobalHeader:
|
||||||
|
// ignore
|
||||||
|
break
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return DisallowedTypeflagError(typeflag)
|
return DisallowedTypeflagError(typeflag)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user