x11vnc icon indicating copy to clipboard operation
x11vnc copied to clipboard

Handle leak in screen.c

Open sminux opened this issue 9 months ago • 0 comments

Handle leak detected by svace static analyze tool

Describe the bug The handle 'fd' is created at https://github.com/LibVNC/x11vnc/blob/a61f364e385d98677c04070a994397b287385219/src/screen.c#L1778 by calling function 'open' and lost at https://github.com/LibVNC/x11vnc/blob/a61f364e385d98677c04070a994397b287385219/src/screen.c#L2513

To Reproduce

Expected Behavior

Screenshots

Desktop (please complete the following information):

  • Debian and latest version:

Additional context

sminux avatar May 15 '24 07:05 sminux