Skip to content

Commit 960e652

Browse files
committed
Revert "C++: Whitespace commit to make qhelp show up in diff."
This reverts commit ec192d6.
1 parent ec192d6 commit 960e652

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
<!DOCTYPE qhelp PUBLIC
2-
"-//Semmle//qhelp//EN"
3-
"qhelp.dtd">
4-
<qhelp>
5-
<overview>
6-
<p>You must ensure that you do not exceed the size of an allocation during write and read operations.
7-
If an operation attempts to write to or access an element that is outside the range of the allocation then this results in a buffer overflow.
8-
Buffer overflows can lead to anything from a segmentation fault to a security vulnerability.
9-
</p>
1+
<!DOCTYPE qhelp PUBLIC
2+
"-//Semmle//qhelp//EN"
3+
"qhelp.dtd">
4+
<qhelp>
5+
<overview>
6+
<p>You must ensure that you do not exceed the size of an allocation during write and read operations.
7+
If an operation attempts to write to or access an element that is outside the range of the allocation then this results in a buffer overflow.
8+
Buffer overflows can lead to anything from a segmentation fault to a security vulnerability.
9+
</p>
1010

11-
</overview>
12-
<recommendation>
13-
<p>
14-
Check the offsets and sizes used in the highlighted operations to ensure that a buffer overflow will not occur.
15-
</p>
11+
</overview>
12+
<recommendation>
13+
<p>
14+
Check the offsets and sizes used in the highlighted operations to ensure that a buffer overflow will not occur.
15+
</p>
1616

17-
</recommendation>
18-
<example><sample src="OverrunWriteProductFlow.cpp" />
17+
</recommendation>
18+
<example><sample src="OverrunWriteProductFlow.cpp" />
1919

2020

2121

22-
</example>
23-
<references>
22+
</example>
23+
<references>
2424

25-
<li>I. Gerg. <em>An Overview and Example of the Buffer-Overflow Exploit</em>. IANewsletter vol 7 no 4. 2005.</li>
26-
<li>M. Donaldson. <em>Inside the Buffer Overflow Attack: Mechanism, Method &amp; Prevention</em>. SANS Institute InfoSec Reading Room. 2002.</li>
25+
<li>I. Gerg. <em>An Overview and Example of the Buffer-Overflow Exploit</em>. IANewsletter vol 7 no 4. 2005.</li>
26+
<li>M. Donaldson. <em>Inside the Buffer Overflow Attack: Mechanism, Method &amp; Prevention</em>. SANS Institute InfoSec Reading Room. 2002.</li>
2727

28-
</references>
29-
</qhelp>
28+
</references>
29+
</qhelp>

0 commit comments

Comments
 (0)