Update java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll

Co-authored-by: Jami <57204504+jcogs33@users.noreply.github.com>
This commit is contained in:
Tony Torralba
2023-06-07 09:08:24 +02:00
committed by GitHub
parent 1601846478
commit 8001ae9669

View File

@@ -50,7 +50,7 @@ private class FileCreationSink extends DataFlow::Node {
/** /**
* Holds if `sink` is a path creation node that doesn't imply a read/write filesystem operation. * Holds if `sink` is a path creation node that doesn't imply a read/write filesystem operation.
* This is to avoid creating new spurious alerts, since `PathCreation` sinks weren't * This is to avoid creating new spurious alerts, since `PathCreation` sinks weren't
* previosuly part of this query. * previously part of this query.
*/ */
private predicate isPathCreation(DataFlow::Node sink) { private predicate isPathCreation(DataFlow::Node sink) {
exists(PathCreation pc | exists(PathCreation pc |