Skip to content

Commit 72ac2e5

Browse files
author
Felicity Chapman
committed
Fix typos
1 parent 3d779dd commit 72ac2e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cpp/ql/src/Critical/GlobalUseBeforeInit.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name Global variable may be used before initialization
3-
* @description Using an uninitialized variable leads to undefined results.
3+
* @description Using an uninitialized variable may lead to undefined results.
44
* @kind problem
55
* @id cpp/global-use-before-init
66
* @problem.severity warning

cpp/ql/src/Critical/InconsistentNullnessTesting.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ important system data (including the interrupt table in some architectures).
2222
<example>
2323
This code shows two examples where a pointer is dereferenced.
2424
The first example checks that the pointer is not null before dereferencing it.
25-
The second example fails to perform a nullnes check, leading to a potential vulnerability in the code.
25+
The second example fails to perform a nullness check, leading to a potential vulnerability in the code.
2626
<sample src="InconsistentNullnessTesting.cpp" />
2727
</example>
2828

cpp/ql/src/Critical/OverflowCalculated.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Increase the size of the buffer being allocated.
3030
</recommendation>
3131

3232
<example>
33-
<p>This example includes thre annotated calls that copy a string into a buffer.
33+
<p>This example includes three annotated calls that copy a string into a buffer.
3434
The first call to <code>malloc</code> creates a buffer that's the
3535
same size as the string, leaving no space for the zero terminator
3636
and causing an overflow. The second call to <ocde>malloc</code>

0 commit comments

Comments
 (0)