Skip to content

Commit faef635

Browse files
committed
add '// BAD' comment for the zstd sink
1 parent 05bdce1 commit faef635

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/experimental/query-tests/Security/CWE/CWE-409/DecompressionBombs

1 file changed

+1
-1
lines changed

cpp/ql/test/experimental/query-tests/Security/CWE/CWE-409/DecompressionBombs/zstdTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void zstd_test(int argc, const char **argv) {
3636
ZSTD_inBuffer input = {buffIn, read, 0};
3737
while (input.pos < input.size) {
3838
ZSTD_outBuffer output = {buffOut, buffOutSize, 0};
39-
size_t const ret = ZSTD_decompressStream(dctx, &output, &input);
39+
size_t const ret = ZSTD_decompressStream(dctx, &output, &input); // BAD
4040
CHECK_ZSTD(ret);
4141
}
4242
}

0 commit comments

Comments
 (0)