fix typos in documentation

Co-authored-by: Stephan Brandauer <kaeluka@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-02-02 15:00:38 +01:00
committed by GitHub
parent 2433eafef2
commit 573f17dc63
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ module InsecureTemporaryFile {
}
}
/** A a string that references the global tmp dir. Seen as a source for insecure temporary file creation. */
/** A string that references the global tmp dir. Seen as a source for insecure temporary file creation. */
class OSTempDir extends Source {
OSTempDir() {
this = DataFlow::moduleImport("os").getAMemberCall("tmpdir")

View File

@@ -12,7 +12,7 @@ case to remote code execution.
<recommendation>
<p>
Use a well tested library like <a href="https://www.npmjs.com/package/tmp">tmp</a>
for creating temprary files. These libraries ensure both that the file is inaccesible
for creating temporary files. These libraries ensure both that the file is inaccessible
to other users and that the file does not already exist.
</p>
</recommendation>