1 parent 6b2f528 commit 9024160Copy full SHA for 9024160
1 file changed
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-120/MmioUnsanitizedMemcpy/test.c
@@ -56,7 +56,7 @@ static void good_early_return(char *dst, char *src) {
56
57
static void good_constant_size(char *dst, char *src) {
58
uint32_t len = READ_REG(0x40001000);
59
- memcpy(dst, src, 32); // GOOD — constant size, not tainted sink
+ memcpy(dst, src, 32); // GOOD
60
}
61
62
static void negative_volatile_global(char *dst, char *src) {
0 commit comments