Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code ql test #11

Closed
wants to merge 2 commits into from
Closed

Code ql test #11

wants to merge 2 commits into from

Conversation

richtja
Copy link
Owner

@richtja richtja commented Jan 23, 2024

No description provided.

It introduces CodeQL workflow to scan PRs together with master branch.

Signed-off-by: Jan Richter <[email protected]>
@@ -82,7 +82,7 @@

def test_output_compatible_setup_2(self):
prefix = "avocado_" + __name__
tmpfile = os.path.join(self.tmpdir.name, f"{prefix}_result.xml")
tmpfile = tempfile.mktemp(prefix=prefix, dir=self.tmpdir.name)

Check failure

Code scanning / CodeQL

Insecure temporary file High test

Call to deprecated function tempfile.mktemp may be insecure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant