Skip to content

Commit e41e090

Browse files
committed
cpp: address review nits on qhelp references and test header
1 parent ff2416b commit e41e090

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

cpp/ql/src/experimental/Security/CWE/CWE-120/MmioUnsanitizedMemcpy.qhelp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,5 @@ and reject or clamp out-of-range values before copying.
2424
<sample src="MmioUnsanitizedMemcpyGood.c" />
2525
</example>
2626
<references>
27-
<li>
28-
CWE-120: Buffer Copy without Checking Size of Input
29-
</li>
30-
<li>
31-
CWE-787: Out-of-bounds Write
32-
</li>
3327
</references>
3428
</qhelp>

cpp/ql/test/experimental/query-tests/Security/CWE/CWE-120/MmioUnsanitizedMemcpy/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Semmle test case for MmioUnsanitizedMemcpy.ql
1+
/* Test case for MmioUnsanitizedMemcpy.ql
22
* Allowlisted MMIO/DMA register macros flowing into memcpy/memmove/strncpy size parameters.
33
*/
44

0 commit comments

Comments
 (0)