mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
stash
This commit is contained in:
@@ -605,12 +605,7 @@ module DecompressionBombs {
|
||||
none()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides Decompression Sinks and additional taint steps for `github.com/klauspost/compress/s2` package
|
||||
*/
|
||||
module KlauspostS2 {
|
||||
class TheSink extends Sink {
|
||||
TheSink() {
|
||||
exists(Method m |
|
||||
@@ -621,6 +616,23 @@ module DecompressionBombs {
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides Decompression Sinks and additional taint steps for `github.com/klauspost/compress/s2` package
|
||||
*/
|
||||
module KlauspostS2 {
|
||||
class TheSink extends DataFlow::Node {
|
||||
TheSink() {
|
||||
exists(Method m |
|
||||
m.getType()
|
||||
.getUnderlyingType()
|
||||
.hasQualifiedName("github.com/klauspost/compress/s2", "Reader")
|
||||
|
|
||||
this = m.getACall()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class TheAdditionalTaintStep extends AdditionalTaintStep {
|
||||
TheAdditionalTaintStep() { this = "AdditionalTaintStep" }
|
||||
|
||||
Reference in New Issue
Block a user