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

Handle leak in screen.c #246

Open
sminux opened this issue May 15, 2024 · 0 comments
Open

Handle leak in screen.c #246

sminux opened this issue May 15, 2024 · 0 comments
Labels

Comments

@sminux
Copy link

sminux commented May 15, 2024

Handle leak detected by svace static analyze tool

Describe the bug
The handle 'fd' is created at

fd = open(tmp, O_WRONLY);

by calling function 'open' and lost at
return raw_fb_image;

To Reproduce

Expected Behavior

Screenshots

Desktop (please complete the following information):

  • Debian and latest version:

Additional context

@sminux sminux added the bug label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant