Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81d06e2

Browse files
committed
C++: Update annotation in test file
1 parent 4ddac74 commit 81d06e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/test/query-tests/Likely Bugs/Memory Management/PointerOverflow/no_strict_overflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
int not_in_range_nostrict(int *ptr, int *ptr_end, unsigned int a) {
44
return ptr + a < ptr_end || // GOOD (for the purpose of this test)
5-
ptr + a < ptr; // GOOD (due to compiler options) [FALSE POSITIVE]
5+
ptr + a < ptr; // GOOD (due to compiler options)
66
}

0 commit comments

Comments
 (0)