mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
chore: fix some comments to improve readability (#4533)
Signed-off-by: promalert <promalert@outlook.com>
This commit is contained in:
parent
3a3a86eb01
commit
cc1a7dfae8
@ -317,7 +317,7 @@ func TestSafeJoin(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestSymlinkProtection demonstrates that SafeJoin protects against symlink-based
|
// TestSafeJoin_SymlinkProtection demonstrates that SafeJoin protects against
|
||||||
// directory traversal attacks by validating that archive entry paths cannot escape
|
// directory traversal attacks by validating that archive entry paths cannot escape
|
||||||
// the extraction directory.
|
// the extraction directory.
|
||||||
func TestSafeJoin_SymlinkProtection(t *testing.T) {
|
func TestSafeJoin_SymlinkProtection(t *testing.T) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user