File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/src/Security/CWE-730 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments