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

Fix issues found by CodeQL #854

Merged
merged 10 commits into from Sep 2, 2021
Merged

Conversation

y0urself
Copy link
Member

What:

Why:

How:

Checklist:

@y0urself y0urself force-pushed the y0urself/fix-issues-from-code-ql branch from 2e205cc to f5140f0 Compare September 1, 2021 15:39
@y0urself y0urself changed the title Y0urself/fix issues from code ql Fix issues found by CodeQL Sep 2, 2021
@y0urself y0urself force-pushed the y0urself/fix-issues-from-code-ql branch from d1c0ca5 to 4b00b77 Compare September 2, 2021 10:27
@y0urself y0urself force-pushed the y0urself/fix-issues-from-code-ql branch from 4b00b77 to 7d182ac Compare September 2, 2021 10:30
Instead of using lstate before opening the file to later on check if it
was changed manually the file descriptor can also be open before and
just check if fstat is returning an error even after opening it.
@y0urself y0urself force-pushed the y0urself/fix-issues-from-code-ql branch from b327fd7 to 9052172 Compare September 2, 2021 11:36
@y0urself y0urself marked this pull request as ready for review September 2, 2021 11:49
@y0urself y0urself requested a review from a team as a code owner September 2, 2021 11:49
@y0urself y0urself merged commit becf38d into master Sep 2, 2021
@y0urself y0urself deleted the y0urself/fix-issues-from-code-ql branch September 2, 2021 14:54
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.

None yet

3 participants