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 9054201 commit 13b0a9aCopy full SHA for 13b0a9a
go/ql/test/experimental/CWE-522-DecompressionBombs/test.go
@@ -414,7 +414,8 @@ func S2(file io.Reader) {
414
415
s2Reader := s2.NewReader(file)
416
var out []byte = make([]byte, 70)
417
- s2Reader.Read(out) // $ hasValueFlow="s2Reader"
+ s2Reader.Read(out) // $ hasValueFlow="s2Reader"
418
+ s2Reader.ReadByte() // $ hasValueFlow="s2Reader"
419
var buf bytes.Buffer
420
s2Reader.DecodeConcurrent(&buf, 2) // $ hasValueFlow="s2Reader"
421
tarRead = tar.NewReader(s2Reader)
0 commit comments