Skip to content

Commit c6083a6

Browse files
ihsinmeMathiasVP
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent ffdca61 commit c6083a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-190/DangerousUseOfTransformationAfterOperation.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Dangerous use of transformation after operation.
33
* @description By using the transformation after the operation, you are doing a pointless and dangerous action.
44
* @kind problem
5-
* @id cpp/dangerous-use-of-transformation-after-operation.
5+
* @id cpp/dangerous-use-of-transformation-after-operation
66
* @problem.severity warning
77
* @precision medium
88
* @tags correctness
@@ -85,10 +85,10 @@ where
8585
) and
8686
(
8787
conversionDoneLate(mexp, e1, e2) and
88-
msg = "this transformation is applied after multiplication"
88+
msg = "This transformation is applied after multiplication."
8989
or
9090
signSmallerWithEqualSizes(mexp, e1, e2) and
91-
msg = "possible signed overflow followed by offset of the pointer out of bounds"
91+
msg = "Possible signed overflow followed by offset of the pointer out of bounds."
9292
)
9393
)
9494
select mexp, msg

0 commit comments

Comments
 (0)