Skip to content

Commit 221a259

Browse files
authored
Merge pull request github#6486 from ihsinme/ihsinme-patch-textFix
correction of the error text
2 parents 4695923 + 6988912 commit 221a259

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-758/UndefinedOrImplementationDefinedBehavior.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,5 @@ where
163163
or
164164
eots.dangerousCrementChanges()
165165
)
166-
select eots, "This expression may have undefined behavior."
166+
select eots,
167+
"This expression may have undefined behavior, because the order of evaluation is not specified."
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| test.c:13:10:13:21 | call to tmpFunction1 | This expression may have undefined behavior. |
2-
| test.c:13:30:13:41 | call to tmpFunction2 | This expression may have undefined behavior. |
3-
| test.c:16:15:16:20 | ... ++ | This expression may have undefined behavior. |
1+
| test.c:13:10:13:21 | call to tmpFunction1 | This expression may have undefined behavior, because the order of evaluation is not specified. |
2+
| test.c:13:30:13:41 | call to tmpFunction2 | This expression may have undefined behavior, because the order of evaluation is not specified. |
3+
| test.c:16:15:16:20 | ... ++ | This expression may have undefined behavior, because the order of evaluation is not specified. |

0 commit comments

Comments
 (0)