CPP: Fix qhelp.

This commit is contained in:
Geoffrey White
2019-10-22 15:21:27 +01:00
parent 33867dd859
commit 2fa80c7da5

View File

@@ -26,7 +26,7 @@ using the value as an array index or bound.
</recommendation>
<example>
<p>In the example below, network data is retrieved and passed to <code>ntohl</code></p> to convert
<p>In the example below, network data is retrieved and passed to <code>ntohl</code> to convert
it to host byte order. The data is then used as an index in an array access expression. However,
there is no validation that the data returned by <code>ntohl</code> is within the bounds of the array,
which could lead to reading outside the bounds of the buffer.