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

Skip to content

Commit 1681407

Browse files
committed
Fix typo in .qhelp
1 parent 7ab8f02 commit 1681407

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/Security/CWE/CWE-023/PartialPathTraversal.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ returns a <b>non</b>-slash-terminated path string, so a <code>"/"</code> must be
2828

2929

3030
In this example, the <code>if</code> statement checks if <code>parent.getCanonicalPath()</code>
31-
is a prefix of <code>dir.getCanonicalPath()</dir>. However, <code>parent.getCanonicalPath()</code> is
31+
is a prefix of <code>dir.getCanonicalPath()</code>. However, <code>parent.getCanonicalPath()</code> is
3232
not slash-terminated. So, the user that supplies <code>dir</code> may be allowed to access siblings of <code>parent</code>
3333
and not just children of <code>parent</code>, which is a security issue.
3434

0 commit comments

Comments
 (0)