We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19718a commit 71e7083Copy full SHA for 71e7083
javascript/ql/src/semmle/javascript/security/dataflow/ZipSlipCustomizations.qll
@@ -47,11 +47,13 @@ module ZipSlip {
47
)
48
}
49
50
- /** Gets a property that is used to get the filename part of an archive entry. */
+ /** Gets a property that is used to get a filename part of an archive entry. */
51
private string getAFilenameProperty() {
52
result = "path" // Used by library 'unzip'.
53
or
54
result = "name" // Used by library 'tar-stream'.
55
+ or
56
+ result = "linkname" // linked file name, used by 'tar-stream'.
57
58
59
/** An archive entry path access, as a source for unsafe archive extraction. */
0 commit comments