Skip to content

Commit 5124310

Browse files
max-schaeferasgerf
andauthored
Update javascript/ql/src/Security/CWE-730/ServerCrash.qhelp
Co-authored-by: Asger F <[email protected]>
1 parent 9432fec commit 5124310

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Security/CWE-730/ServerCrash.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
<p>
4444

4545
The following server code checks if a client-provided file path is valid
46-
before saving data to it. It would be reasonable to expect that the
47-
server responds with an error response to client requests with invalid
48-
file paths. However, the server instead throws an exception, which is
46+
before saving data to that path. It would be reasonable to expect that the
47+
server responds with an error in case the request contains an invalid
48+
file path. However, the server instead throws an exception, which is
4949
uncaught in the context of the asynchronous callback invocation
5050
(<code>fs.access(...)</code>). This causes the entire server to
5151
terminate abruptly.

0 commit comments

Comments
 (0)