mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JavaScript: Add change note and comment.
This commit is contained in:
@@ -60,7 +60,11 @@ module ZipSlip {
|
||||
}
|
||||
|
||||
/** Gets a property that is used to get the filename part of an archive entry. */
|
||||
private string getAFilenameProperty() { result = "path" or result = "name" }
|
||||
private string getAFilenameProperty() {
|
||||
result = "path" // Used by library 'unzip'.
|
||||
or
|
||||
result = "name" // Used by library 'tar-stream'.
|
||||
}
|
||||
|
||||
/** An archive entry path access, as a source for unsafe archive extraction. */
|
||||
class UnzipEntrySource extends Source {
|
||||
|
||||
Reference in New Issue
Block a user