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 05bdce1 commit faef635Copy full SHA for faef635
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-409/DecompressionBombs/zstdTest.cpp
@@ -36,7 +36,7 @@ void zstd_test(int argc, const char **argv) {
36
ZSTD_inBuffer input = {buffIn, read, 0};
37
while (input.pos < input.size) {
38
ZSTD_outBuffer output = {buffOut, buffOutSize, 0};
39
- size_t const ret = ZSTD_decompressStream(dctx, &output, &input);
+ size_t const ret = ZSTD_decompressStream(dctx, &output, &input); // BAD
40
CHECK_ZSTD(ret);
41
}
42
0 commit comments