libvncserver-0.9.15-5.fc44
List of Findings
Error: COMPILER_WARNING (CWE-686): [#def1]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-HMqC0F/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘fork’; expected ‘int(void)’
Error: COMPILER_WARNING (CWE-686): [#def2]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-JuNkZs/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘memset’; expected ‘void *(void *, int, long unsigned int)’
Error: COMPILER_WARNING (CWE-686): [#def3]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Ndw5WU/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘memmove’; expected ‘void *(void *, const void *, long unsigned int)’
Error: COMPILER_WARNING (CWE-686): [#def4]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-a30Wgh/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘strcspn’; expected ‘long unsigned int(const char *, const char *)’
Error: COMPILER_WARNING (CWE-686): [#def5]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-kLfyml/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘strdup’; expected ‘char *(const char *)’
Error: COMPILER_WARNING (CWE-686): [#def6]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-msyGbM/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘strstr’; expected ‘char *(const char *, const char *)’
Error: COMPILER_WARNING (CWE-686): [#def7]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-ppog0b/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘strchr’; expected ‘char *(const char *, int)’
Error: COMPILER_WARNING (CWE-686): [#def8]
libvncserver-LibVNCServer-0.9.15/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-yytwxH/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘vprintf’; expected ‘int(const char *, __va_list_tag *)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:464:25: warning[-Wanalyzer-malloc-leak]: leak of ‘this’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:485:28: enter_function: entry to ‘tjInitCompress’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:488:32: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:488:11: branch_false: following ‘false’ branch (when ‘this’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:494:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:495:16: call_function: calling ‘_tjInitCompress’ from ‘tjInitCompress’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:599:17: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:539:23: enter_function: entry to ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:549:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:553:62: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:564:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: call_function: calling ‘setCompDefaults’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: return_function: returning to ‘tjCompress2’ from ‘setCompDefaults’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: call_function: calling ‘tjBufSize’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: return_function: returning to ‘tjCompress2’ from ‘tjBufSize’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:592:18: branch_true: following ‘true’ branch (when ‘i < height’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:20: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:67: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:597:15: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:599:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:599:17: throw: if ‘jpeg_write_scanlines’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:599:17: danger: ‘row_pointer’ leaks here; was allocated at [(25)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:602:9: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:539:23: enter_function: entry to ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:549:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:553:62: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:564:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: call_function: calling ‘setCompDefaults’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: return_function: returning to ‘tjCompress2’ from ‘setCompDefaults’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: call_function: calling ‘tjBufSize’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: return_function: returning to ‘tjCompress2’ from ‘tjBufSize’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:592:18: branch_true: following ‘true’ branch (when ‘i < height’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:20: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:67: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:597:15: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:602:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:602:9: throw: if ‘jpeg_finish_compress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:602:9: danger: ‘row_pointer’ leaks here; was allocated at [(25)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:607:46: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:539:23: enter_function: entry to ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:548:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:549:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:553:62: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:552:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:557:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:564:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: call_function: calling ‘setCompDefaults’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:583:12: return_function: returning to ‘tjCompress2’ from ‘setCompDefaults’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: call_function: calling ‘tjBufSize’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:587:35: return_function: returning to ‘tjCompress2’ from ‘tjBufSize’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:590:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:592:18: branch_true: following ‘true’ branch (when ‘i < height’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:20: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:594:67: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:597:15: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:602:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:603:19: call_function: calling ‘tjBufSize’ from ‘tjCompress2’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:603:19: return_function: returning to ‘tjCompress2’ from ‘tjBufSize’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:607:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:607:46: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:607:46: throw: if ‘jpeg_abort_compress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:607:46: danger: ‘row_pointer’ leaks here; was allocated at [(25)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘this’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:672:28: enter_function: entry to ‘tjInitDecompress’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:675:32: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:675:11: branch_false: following ‘false’ branch (when ‘this’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:681:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:682:16: call_function: calling ‘_tjInitDecompress’ from ‘tjInitDecompress’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:834:17: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:760:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:778:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:781:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:786:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:791:18: branch_true: following ‘true’ branch (when ‘i != 4’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:793:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:798:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:803:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:832:15: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:834:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:834:17: throw: if ‘jpeg_read_scanlines’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:834:17: danger: ‘row_pointer’ leaks here; was allocated at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:837:9: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:760:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:778:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:781:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:786:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:791:18: branch_true: following ‘true’ branch (when ‘i != 4’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:793:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:798:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:803:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:832:15: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:837:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:837:9: throw: if ‘jpeg_finish_decompress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:837:9: danger: ‘row_pointer’ leaks here; was allocated at [(18)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:844:46: warning[-Wanalyzer-malloc-leak]: leak of ‘row_pointer’
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:759:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:760:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:763:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:12: setjmp: ‘setjmp’ called here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:771:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:778:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:781:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:786:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:791:18: branch_true: following ‘true’ branch (when ‘i != 4’)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:793:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:798:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:803:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:37: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: following ‘false’ branch (when ‘row_pointer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:823:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:832:15: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:837:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:844:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:844:46: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:844:46: throw: if ‘jpeg_abort_decompress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/turbojpeg.c:844:46: danger: ‘row_pointer’ leaks here; was allocated at [(18)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "w")’
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:86:15: acquire_resource: opened here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:86:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:90:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:95:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:105:5: throw: if ‘encrypt_rfbdes’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: danger: ‘fopen(fname, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "w")’
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:86:15: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:86:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:90:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:95:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:105:5: throw: if ‘encrypt_rfbdes’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:96:13: danger: ‘fopen(fname, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘passwd’
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:127:46: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:130:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:135:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:136:14: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:137:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:142:15: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:137:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:142:15: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:147:9: throw: if ‘decrypt_rfbdes’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/common/vncauth.c:147:9: danger: ‘passwd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:56:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:63:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:67:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:71:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_true: following ‘true’ branch (when ‘enc == 4294967056’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:10: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:10: throw: if ‘ReadFromRFBServer’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:10: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:91:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:56:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:63:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:67:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:71:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_true: following ‘true’ branch (when ‘enc == 4294967056’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:10: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:81:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:87:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:91:10: throw: if ‘ReadFromRFBServer’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:91:10: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:56:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:63:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:67:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:71:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: following ‘false’ branch (when ‘enc != 4294967056’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:62: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:10: throw: if ‘ReadFromRFBServer’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:10: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:142:8: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:56:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:59:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:63:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:67:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:70:9: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:71:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:79:6: branch_false: following ‘false’ branch (when ‘enc != 4294967056’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:62: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:131:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:142:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:142:8: throw: if ‘ReadFromRFBServer’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/cursor.c:142:8: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:61: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:344:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:345:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:61: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:61: throw: if ‘sock_wait_for_connected’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:61: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:361:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:344:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:345:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:361:7: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:361:7: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:361:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def26]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:362:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:344:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:345:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:353:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:356:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:360:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:361:7: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:362:7: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:362:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:65: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:402:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:408:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:410:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:412:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:412:12: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:413:8: branch_true: following ‘true’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:415:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:415:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:416:44: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:416:13: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:416:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:16: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:14: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:65: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:65: throw: if ‘sock_wait_for_connected’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:65: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:424:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:402:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:408:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:410:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:412:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:412:12: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:413:8: branch_true: following ‘true’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:415:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:416:13: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:416:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:422:16: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:424:11: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:424:11: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:480:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:484:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:486:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:487:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:73: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:33: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:33: throw: if ‘sock_wait_for_connected’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:33: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:497:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:480:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:484:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:486:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:487:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:73: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:497:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:497:5: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:497:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:498:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:480:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:484:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:486:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:487:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:73: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:496:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:495:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:497:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:498:5: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:498:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:532:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:523:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:524:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:524:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:529:40: branch_true: following ‘true’ branch (when ‘port != 5500’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:530:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:531:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:532:7: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:532:7: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:532:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:635:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:606:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:21: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:619:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:627:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:9: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:635:7: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:635:7: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:635:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def34]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:652:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:606:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:21: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:619:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:627:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:642:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:642:6: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:648:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:651:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:652:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:652:5: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:652:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:653:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:606:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:612:21: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:17: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:613:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:619:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:627:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:634:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:642:6: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:642:6: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:648:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:651:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:652:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:653:5: branch_true: following ‘true’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:653:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:653:5: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:653:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:697:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:471:1: enter_function: entry to ‘ConnectClientToUnixSockWithTimeout’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:480:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:484:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:486:10: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:487:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/sockets.c:492:8: call_function: calling ‘SetNonBlocking’ from ‘ConnectClientToUnixSockWithTimeout’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def37]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:153:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘palette[<unknown>]’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:81:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:81:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:89:10: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:92:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:257:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:260:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:263:14: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:263:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:267:23: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:271:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:141:14: branch_true: following ‘true’ branch (when ‘last_type <= 16’)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:145:37: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:144:16: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:149:26: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:149:41: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:151:27: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:151:44: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:153:30: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:153:21: danger: use of uninitialized value ‘palette[<unknown>]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def38]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:218:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘palette[<unknown>]’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:81:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:81:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:89:10: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:92:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:213:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:216:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:216:14: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:218:27: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/trle.c:218:19: danger: use of uninitialized value ‘palette[<unknown>]’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:69:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:60:17: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:61:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:64:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:64:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:65:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:66:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:68:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:69:9: throw: if ‘fflush’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:69:9: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:72:23: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:60:17: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:61:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:64:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:64:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:65:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:66:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:68:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:72:23: throw: if ‘fgetc’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncclient/vncviewer.c:72:23: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:48:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src.subspan’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:838:5: enter_function: entry to ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: call_function: calling ‘sraRgnCreateRect’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:55:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*after._next’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:838:5: enter_function: entry to ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: call_function: calling ‘sraRgnCreateRect’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:66:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*before._prev’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:838:5: enter_function: entry to ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: call_function: calling ‘sraRgnCreateRect’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def44]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:119:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*s.end’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:838:5: enter_function: entry to ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: call_function: calling ‘sraRgnCreateRect’ from ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: return_function: returning to ‘main’ from ‘sraRgnCreateRect’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:846:13: call_function: calling ‘sraRgnCreateRect’ from ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:846:13: return_function: returning to ‘main’ from ‘sraRgnCreateRect’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:847:13: call_function: calling ‘sraRgnCreateRect’ from ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:847:13: return_function: returning to ‘main’ from ‘sraRgnCreateRect’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:849:3: call_function: inlined call to ‘sraRgnPrint’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:155:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*list.front._next’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:838:5: enter_function: entry to ‘main’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:845:12: call_function: calling ‘sraRgnCreateRect’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:719:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:718:5: branch_true: following ‘true’ branch (when ‘reverseY != 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:719:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:719:5: danger: dereference of NULL ‘sraRgnGetIterator(s)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:722:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:718:5: branch_false: following ‘false’ branch (when ‘reverseY == 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:722:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:722:3: danger: dereference of NULL ‘sraRgnGetIterator(s)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:756:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*i.sPtrs’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:753:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:754:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:754:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:755:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:753:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:754:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:754:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:755:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/../libvncserver/rfbregion.c:756:7: danger: ‘*i.sPtrs’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-1023): [#def49]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_AUTHENTICATION’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def50]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_INITIALISATION_SHARED’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def51]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_INITIALISATION’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def52]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_NORMAL’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def53]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c: scope_hint: In function ‘rfbProcessClientSecurityType’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_PROTOCOL_VERSION’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def54]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:5: warning[-Wswitch]: enumeration value ‘RFB_SHUTDOWN’ not handled in switch
Error: GCC_ANALYZER_WARNING (CWE-457): [#def55]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:442:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘handler’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:423:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:432:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:442:37: danger: use of uninitialized value ‘handler’ here
Error: COMPILER_WARNING (CWE-457): [#def56]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:442:37: warning[-Wmaybe-uninitialized]: ‘handlerListHead’ may be used uninitialized
libvncserver-LibVNCServer-0.9.15/src/libvncserver/auth.c:419:25: note: ‘handlerListHead’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:64:19: warning[-Wanalyzer-malloc-leak]: leak of ‘passwds’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:81:1: enter_function: entry to ‘rfbProcessArguments’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:85:7: branch_false: following ‘false’ branch (when ‘argc’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:22: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:98:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:19: branch_true: following ‘true’ branch (when the strings are equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:16: branch_false: following ‘false’ branch (when ‘passwds’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:17: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: call_function: calling ‘rfbUsage’ from ‘rfbProcessArguments’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:66:17: warning[-Wanalyzer-malloc-leak]: leak of ‘passwds’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:81:1: enter_function: entry to ‘rfbProcessArguments’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:85:7: branch_false: following ‘false’ branch (when ‘argc’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:22: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:98:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:19: branch_true: following ‘true’ branch (when the strings are equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:16: branch_false: following ‘false’ branch (when ‘passwds’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:17: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: call_function: calling ‘rfbUsage’ from ‘rfbProcessArguments’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:67:5: warning[-Wanalyzer-malloc-leak]: leak of ‘passwds’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:81:1: enter_function: entry to ‘rfbProcessArguments’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:85:7: branch_false: following ‘false’ branch (when ‘argc’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:87:22: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:88:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:98:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:105:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:111:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:118:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:120:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:126:19: branch_true: following ‘true’ branch (when the strings are equal)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:127:30: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:16: branch_false: following ‘false’ branch (when ‘passwds’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:128:17: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cargs.c:129:17: call_function: calling ‘rfbUsage’ from ‘rfbProcessArguments’
Error: CPPCHECK_WARNING (CWE-401): [#def60]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:294: error[memleak]: Memory leak: cursor.source
Error: GCC_ANALYZER_WARNING (CWE-688): [#def61]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:596:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dest’ where non-null expected
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:557:6: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:562:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:564:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:565:10: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:567:28: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:577:14: branch_false: following ‘false’ branch (when ‘x2 > 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:582:7: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:586:14: branch_false: following ‘false’ branch (when ‘y2 > 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:586:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:592:12: branch_true: following ‘true’ branch (when ‘j < y2’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:593:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:596:8: branch_false: following ‘false’ branch (when ‘wasChanged == 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:596:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/cursor.c:596:23: danger: argument 1 (‘dest’) from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:356:41: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:289:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:294:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:304:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:311:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:313:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:329:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:333:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:342:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:342:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:356:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:356:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:356:49: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:356:41: danger: argument 1 (‘strchr(&buf, 47)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&fullFname, "r")’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:289:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:294:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:304:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:311:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:313:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:329:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:333:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:366:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:372:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:375:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:395:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:413:8: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:432:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:15: acquire_resource: opened here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: danger: ‘fopen(&fullFname, "r")’ leaks here; was opened at [(24)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&fullFname, "r")’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:289:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:294:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:304:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:311:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:313:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:329:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:333:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:366:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:372:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:375:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:395:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:413:8: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:432:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:15: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: danger: ‘fopen(&fullFname, "r")’ leaks here; was allocated at [(24)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&fullFname, "r")’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:289:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:294:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:304:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:311:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:313:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:329:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:333:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:366:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:372:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:375:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:395:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:413:8: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:432:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:15: acquire_resource: opened here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: danger: ‘fopen(&fullFname, "r")’ leaks here; was opened at [(24)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&fullFname, "r")’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:289:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:294:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:304:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:311:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:313:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:329:20: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:333:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:340:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:366:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:372:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:375:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:381:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:387:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:395:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:413:8: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:423:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:432:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:15: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:445:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:452:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/httpd.c:463:5: danger: ‘fopen(&fullFname, "r")’ leaks here; was allocated at [(24)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def67]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:257:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:241:7: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:244:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:250:5: acquire_resource: ‘va_start’ called here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:257:5: throw: if ‘fflush’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:257:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:939:6: warning[-Wanalyzer-malloc-leak]: leak of ‘screen’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:928:28: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:929:7: branch_false: following ‘false’ branch (when ‘screen’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:932:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:938:6: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:939:6: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:939:6: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:939:6: danger: ‘screen’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:1005:8: warning[-Wanalyzer-malloc-leak]: leak of ‘screen’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:928:28: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:929:7: branch_false: following ‘false’ branch (when ‘screen’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:932:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:1005:8: throw: if ‘rfbProcessArguments’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:1005:8: danger: ‘screen’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def70]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c: scope_hint: In function ‘rfbShutdownServer’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/main.c:1242:7: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def71]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:48:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src.subspan’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:591:12: enter_function: entry to ‘sraRgnBBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:595:5: branch_false: following ‘false’ branch (when ‘src’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:598:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:599:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:600:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:617:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: call_function: calling ‘sraRgnCreateRect’ from ‘sraRgnBBox’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:55:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*after._next’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:591:12: enter_function: entry to ‘sraRgnBBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:595:5: branch_false: following ‘false’ branch (when ‘src’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:598:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:599:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:600:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:617:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: call_function: calling ‘sraRgnCreateRect’ from ‘sraRgnBBox’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def73]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:66:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*before._prev’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:567:1: enter_function: entry to ‘sraRgnSubtract’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:568:10: call_function: calling ‘sraSpanListSubtract’ from ‘sraRgnSubtract’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:155:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*list.front._next’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:591:12: enter_function: entry to ‘sraRgnBBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:595:5: branch_false: following ‘false’ branch (when ‘src’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:598:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:599:10: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:600:8: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:617:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:620:10: call_function: calling ‘sraRgnCreateRect’ from ‘sraRgnBBox’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:719:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:718:5: branch_true: following ‘true’ branch (when ‘reverseY != 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:719:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:719:5: danger: dereference of NULL ‘sraRgnGetIterator(s)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:722:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:718:5: branch_false: following ‘false’ branch (when ‘reverseY == 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:722:3: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbregion.c:722:3: danger: dereference of NULL ‘sraRgnGetIterator(s)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:212:6: warning[-Wanalyzer-malloc-leak]: leak of ‘rfbGetClientIterator(*cl.screen)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2219:1: enter_function: entry to ‘rfbProcessClientNormalMessage’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2238:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2245:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3022:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3030:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3030:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3035:60: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3036:12: branch_false: following ‘false’ branch (when ‘extDesktopScreens’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:18: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3050:60: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3068:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3070:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3070:24: call_function: calling ‘rfbGetClientIterator’ from ‘rfbProcessClientNormalMessage’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3070:24: return_function: returning to ‘rfbProcessClientNormalMessage’ from ‘rfbGetClientIterator’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3071:27: call_function: calling ‘rfbClientIteratorNext’ from ‘rfbProcessClientNormalMessage’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3071:27: return_function: returning to ‘rfbProcessClientNormalMessage’ from ‘rfbClientIteratorNext’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:212:6: danger: ‘rfbGetClientIterator(*cl.screen)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:212:6: warning[-Wanalyzer-malloc-leak]: leak of ‘rfbGetClientIterator(rfbScreen)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3991:1: enter_function: entry to ‘rfbSendBell’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3997:9: call_function: calling ‘rfbGetClientIterator’ from ‘rfbSendBell’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3997:9: return_function: returning to ‘rfbSendBell’ from ‘rfbGetClientIterator’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3998:15: call_function: calling ‘rfbClientIteratorNext’ from ‘rfbSendBell’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3998:15: return_function: returning to ‘rfbSendBell’ from ‘rfbClientIteratorNext’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:4007:5: throw: if ‘rfbStatRecordMessageSent’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:212:6: danger: ‘rfbGetClientIterator(rfbScreen)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:767:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:762:19: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:763:8: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:764:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:767:13: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:767:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:768:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:762:19: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:763:8: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:764:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:767:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:768:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:768:13: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:768:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:795:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:789:19: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:790:8: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:791:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:795:13: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:795:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:796:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:789:19: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:790:8: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:791:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:795:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:796:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:796:13: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:796:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1420:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:676:1: enter_function: entry to ‘rfbProcessClientMessage’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:694:9: call_function: calling ‘rfbProcessClientNormalMessage’ from ‘rfbProcessClientMessage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1538:22: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1518:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1529:30: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1529:7: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1535:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1535:8: branch_true: following ‘true’ branch (when ‘length != 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1536:23: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1536:16: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1537:12: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1538:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1538:22: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1538:22: danger: ‘buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-401): [#def85]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1762: error[memleakOnRealloc]: Common realloc mistake: 'buffer' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:1770:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:676:1: enter_function: entry to ‘rfbProcessClientMessage’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:694:9: call_function: calling ‘rfbProcessClientNormalMessage’ from ‘rfbProcessClientMessage’
Error: COMPILER_WARNING (CWE-563): [#def87]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c: scope_hint: In function ‘rfbSendExtendedServerCutTextData’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2088:9: warning[-Wunused-variable]: unused variable ‘i’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2102:12: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2102:12: throw: if ‘compressBound’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2102:12: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2105:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_true: following ‘true’ branch (when ‘bufAfterZlib’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2105:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2105:9: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2105:9: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufAfterZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2103:28: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: throw: if ‘compress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: danger: ‘bufAfterZlib’ leaks here; was allocated at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: throw: if ‘compress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2111:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2111:9: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2111:9: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2125:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2117:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2125:9: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2125:9: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2117:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2125:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2126:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2126:9: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2126:9: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2132:5: warning[-Wanalyzer-malloc-leak]: leak of ‘bufBeforeZlib’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2093:29: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2094:8: branch_false: following ‘false’ branch (when ‘bufBeforeZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2099:14: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2104:8: branch_false: following ‘false’ branch (when ‘bufAfterZlib’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2110:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2117:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2125:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2132:63: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2132:5: throw: if ‘rfbStatRecordMessageSent’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2132:5: danger: ‘bufBeforeZlib’ leaks here; was allocated at [(1)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def96]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c: scope_hint: In function ‘rfbProcessExtendedServerCutTextData’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2155:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def97]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2155:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2192:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2149:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2154:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2156:17: branch_true: following ‘true’ branch (when ‘i != 16’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2157:23: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2163:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2172:16: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2173:12: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2177:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2177:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2183:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2183:23: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2184:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2190:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2192:15: throw: if ‘inflate’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2192:15: danger: ‘buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2801:26: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2238:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2245:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2771:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2779:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2782:9: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2791:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2792:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2794:31: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2794:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2795:20: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2801:26: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2801:26: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2801:26: danger: ‘str’ leaks here; was allocated at [(11)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2873:18: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2238:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2245:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2831:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2839:26: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2859:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2866:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2866:23: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2867:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2873:18: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2873:18: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2873:18: danger: ‘str’ leaks here; was allocated at [(9)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:18: warning[-Wanalyzer-malloc-leak]: leak of ‘extDesktopScreens’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2238:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:2245:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3022:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3030:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3030:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3035:60: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3035:53: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3036:12: branch_false: following ‘false’ branch (when ‘extDesktopScreens’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:18: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:18: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3042:18: danger: ‘extDesktopScreens’ leaks here; was allocated at [(9)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def102]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3948: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scme
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3948:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘wbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3940:8: branch_true: following ‘true’ branch (when ‘nColours > 256’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:25: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3948:5: danger: ‘wbuf’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def104]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scme
Error: CPPCHECK_WARNING (CWE-476): [#def105]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scme
Error: CPPCHECK_WARNING (CWE-457): [#def106]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972: warning[uninitvar]: Uninitialized variable: wbuf
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:9: warning[-Wanalyzer-malloc-leak]: leak of ‘wbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3940:8: branch_true: following ‘true’ branch (when ‘nColours > 256’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3955:17: branch_true: following ‘true’ branch (when ‘i < nColours’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:9: throw: if ‘rfbWriteExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:9: danger: ‘wbuf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3973:9: warning[-Wanalyzer-malloc-leak]: leak of ‘wbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3940:8: branch_true: following ‘true’ branch (when ‘nColours > 256’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3955:17: branch_true: following ‘true’ branch (when ‘i < nColours’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3973:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3973:9: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3973:9: danger: ‘wbuf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3974:9: warning[-Wanalyzer-malloc-leak]: leak of ‘wbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3940:8: branch_true: following ‘true’ branch (when ‘nColours > 256’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3955:17: branch_true: following ‘true’ branch (when ‘i < nColours’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3973:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3974:9: throw: if ‘rfbCloseClient’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3974:9: danger: ‘wbuf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3981:5: warning[-Wanalyzer-malloc-leak]: leak of ‘wbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3940:8: branch_true: following ‘true’ branch (when ‘nColours > 256’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:32: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3942:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3950:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3951:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3955:17: branch_true: following ‘true’ branch (when ‘i < nColours’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3956:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:12: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3957:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3958:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3959:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3960:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3972:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3979:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3981:5: throw: if ‘rfbStatRecordMessageSent’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbserver.c:3981:5: danger: ‘wbuf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:43: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:92:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:92:8: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:43: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:43: throw: if ‘gnutls_global_init’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:43: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:96:43: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:92:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:92:8: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:43: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:94:15: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:96:43: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:96:43: throw: if ‘gnutls_certificate_allocate_credentials’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/rfbssl_gnutls.c:96:43: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def113]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/scale.c: scope_hint: In function ‘rfbScaledScreenUpdate’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/scale.c:264:9: warning[-Wunused-but-set-variable=]: variable ‘count’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:31:3: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:39:5: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:48:5: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:60:3: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: return_function: returning to ‘rfbSelectBox’ from ‘selPaintButtons’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:279:4: call_function: calling ‘selSelect’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:62:5: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: return_function: returning to ‘rfbSelectBox’ from ‘selPaintButtons’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:279:4: call_function: calling ‘selSelect’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:97:9: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: return_function: returning to ‘rfbSelectBox’ from ‘selPaintButtons’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:279:4: call_function: calling ‘selSelect’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:102:9: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:203:5: enter_function: entry to ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:271:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:273:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: call_function: calling ‘selPaintButtons’ from ‘rfbSelectBox’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:278:4: return_function: returning to ‘rfbSelectBox’ from ‘selPaintButtons’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:279:4: call_function: calling ‘selSelect’ from ‘rfbSelectBox’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:277:4: warning[-Wanalyzer-malloc-leak]: leak of ‘frameBufferBackup’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:220:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:226:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:228:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:240:6: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:242:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:247:31: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:248:7: branch_false: following ‘false’ branch (when ‘frameBufferBackup’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:251:4: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:277:4: throw: if ‘rfbFillRect’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/selbox.c:277:4: danger: ‘frameBufferBackup’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:532:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(chosen_listen_sock, 0, 0)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:495:5: branch_true: following ‘true’ branch (when ‘__i != 16’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:495:5: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:500:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:504:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:529:7: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:530:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:532:9: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:532:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:532:9: danger: ‘accept(chosen_listen_sock, 0, 0)’ leaks here
Error: COMPILER_WARNING (CWE-252): [#def123]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c: scope_hint: In function ‘rfbCloseClient’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:602:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-758): [#def124]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c: scope_hint: In function ‘rfbReadExactTimeout’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:757:32: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
Error: CPPCHECK_WARNING (CWE-758): [#def125]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:798: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: GCC_ANALYZER_WARNING (CWE-457): [#def126]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:799:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<return-value>’
Error: COMPILER_WARNING (CWE-393): [#def127]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c: scope_hint: In function ‘rfbPeekAtSocket’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:799:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-758): [#def128]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c: scope_hint: In function ‘rfbPeekExactTimeout’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:863:32: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
Error: GCC_ANALYZER_WARNING (CWE-775): [#def129]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1062:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1053:17: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1053:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1056:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1056:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1061:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1061:9: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1061:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1062:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1062:9: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1062:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def130]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1066:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1053:17: acquire_resource: stream socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1053:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1056:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1056:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1061:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1061:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1065:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1065:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1066:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1066:9: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1066:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def131]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1124:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1095:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:13: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1124:11: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1124:11: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1124:11: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1141:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1095:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1131:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1131:8: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1138:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1140:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1141:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1141:9: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1141:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1142:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1095:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1101:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1102:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1108:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1116:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1123:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1131:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1131:8: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1138:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1140:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1141:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1142:9: branch_true: following ‘true’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1142:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1142:9: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1142:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1167:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: throw: if ‘sock_set_nonblocking’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1184:71: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1167:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1178:17: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1178:16: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1184:22: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1184:71: throw: if ‘sock_wait_for_connected’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1184:71: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1186:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1167:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1173:23: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:21: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1174:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1177:13: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1178:17: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1178:16: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1184:22: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1186:17: throw: if ‘close’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1186:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1276:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1264:17: acquire_resource: datagram socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1264:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1267:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1267:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1271:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1271:9: acquire_resource: socket created here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1271:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1272:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/sockets.c:1276:1: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:60:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:41:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:44:17: branch_true: following ‘true’ branch (when ‘i < nEntries’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:46:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:60:9: danger: ‘malloc((long unsigned int)((3 << (int)*in.bitsPerPixel) + 1)) + (sizetype)(i * 3)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:100:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:85:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:88:17: branch_true: following ‘true’ branch (when ‘i < nEntries’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:89:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:100:9: danger: ‘malloc((long unsigned int)((3 << (int)*in.bitsPerPixel) + 1)) + (sizetype)(i * 3)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def140]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:127: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:149:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:116:1: enter_function: entry to ‘rfbInitTrueColourRGBTables24’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:124:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:130:5: call_function: calling ‘rfbInitOneRGBTable24’ from ‘rfbInitTrueColourRGBTables24’
Error: CPPCHECK_WARNING (CWE-476): [#def142]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def143]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinit24.c:155: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def144]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:71: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: t
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:71:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:55:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:58:17: branch_true: following ‘true’ branch (when ‘i < nEntries’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:60:16: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinitcmtemplate.c:71:9: danger: ‘malloc((long unsigned int)nEntries) + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def146]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: t
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:81:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:69:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:72:17: branch_true: following ‘true’ branch (when ‘i < nEntries’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:73:25: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:81:9: danger: ‘malloc((long unsigned int)nEntries) + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def148]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:110: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def149]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: table
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:130:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:99:1: enter_function: entry to ‘rfbInitTrueColourRGBTables8’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:107:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:113:5: call_function: calling ‘rfbInitOneRGBTable8’ from ‘rfbInitTrueColourRGBTables8’
Error: CPPCHECK_WARNING (CWE-476): [#def151]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: table
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:132:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘table’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:99:1: enter_function: entry to ‘rfbInitTrueColourRGBTables8’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:107:22: acquire_memory: this call could return NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:113:5: call_function: calling ‘rfbInitOneRGBTable8’ from ‘rfbInitTrueColourRGBTables8’
Error: CPPCHECK_WARNING (CWE-476): [#def153]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tableinittctemplate.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: table
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1585:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dst2’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1534:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1537:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1537:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1541:10: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1548:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1564:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:46: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:39: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:11: release_memory: assuming ‘tmpbuf’ is NULL
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:11: branch_true: following ‘true’ branch (when ‘tmpbuf’ is NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1570:13: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1574:20: branch_true: following ‘true’ branch (when ‘j < h’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1574:20: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1577:25: branch_true: following ‘true’ branch (when ‘i < w’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1578:24: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1585:17: danger: dereference of NULL ‘dst2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1614:9: warning[-Wanalyzer-malloc-leak]: leak of ‘srcbuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1534:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1537:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1537:8: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1541:10: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1556:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1561:31: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1564:8: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:46: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:39: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1569:11: branch_false: following ‘false’ branch (when ‘tmpbuf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1571:31: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1574:20: branch_false: following ‘false’ branch (when ‘j >= h’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1599:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1614:9: throw: if ‘tjCompress’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tight.c:1614:9: danger: ‘srcbuf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:275:26: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:260:11: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:264:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:269:20: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:269:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:269:11: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:275:26: throw: if ‘readdir’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:275:26: danger: ‘opendir(path)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:383:37: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:372:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:373:11: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:378:28: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:37: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:383:5: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:383:37: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:383:37: throw: if ‘GetSumOfFileNamesLength’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:383:37: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:372:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:373:11: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:378:28: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:387:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: throw: if ‘GetFileSizeAt’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:372:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:373:11: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:378:28: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:387:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: throw: if ‘GetFileDataAt’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:390:36: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:372:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:373:11: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:378:28: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:382:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:387:19: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:388:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:389:45: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:390:36: throw: if ‘GetFileNameAt’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:390:36: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:750:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ftm.data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:661:1: enter_function: entry to ‘ChkFileUploadWriteErr’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:670:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:671:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:673:23: call_function: calling ‘CreateFileUploadErrMsg’ from ‘ChkFileUploadWriteErr’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:673:23: return_function: returning to ‘ChkFileUploadWriteErr’ from ‘CreateFileUploadErrMsg’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:674:17: call_function: calling ‘CloseUndoneFileUpload’ from ‘ChkFileUploadWriteErr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:755:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ftm.data’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:661:1: enter_function: entry to ‘ChkFileUploadWriteErr’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:670:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:671:22: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:673:23: call_function: calling ‘CreateFileUploadErrMsg’ from ‘ChkFileUploadWriteErr’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:673:23: return_function: returning to ‘ChkFileUploadWriteErr’ from ‘CreateFileUploadErrMsg’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/filetransfermsg.c:674:17: call_function: calling ‘CloseUndoneFileUpload’ from ‘ChkFileUploadWriteErr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:147:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:123:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:129:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:135:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:135:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:141:19: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:141:19: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:141:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:147:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:147:17: danger: ‘opendir(path)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:202:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetHomeDir(uid)’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:80:1: enter_function: entry to ‘InitFileTransfer’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:89:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:92:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:96:20: call_function: calling ‘GetHomeDir’ from ‘InitFileTransfer’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:96:20: return_function: returning to ‘InitFileTransfer’ from ‘GetHomeDir’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:98:11: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:98:34: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:202:12: danger: ‘GetHomeDir(uid)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:460:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:455:28: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:455:11: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:460:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:460:17: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:460:17: danger: ‘path’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:617:17: warning[-Wanalyzer-malloc-leak]: leak of ‘reason’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:592:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:602:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:604:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:610:33: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:610:26: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:611:11: branch_false: following ‘false’ branch (when ‘reason’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:617:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:617:17: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:617:17: danger: ‘reason’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:730:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:725:28: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:725:11: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:730:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:730:17: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:730:17: danger: ‘path’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:852:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pBuf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:814:11: branch_false: following ‘false’ branch (when ‘cl’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:820:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:820:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:830:28: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:847:24: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:848:11: branch_false: following ‘false’ branch (when ‘pBuf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:852:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:852:17: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:852:17: danger: ‘pBuf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:963:17: warning[-Wanalyzer-malloc-leak]: leak of ‘reason’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:933:11: branch_false: following ‘false’ branch (when ‘cl’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:939:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:939:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:949:29: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:950:11: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:957:33: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:957:26: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:958:11: branch_false: following ‘false’ branch (when ‘reason’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:963:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:963:17: throw: if ‘rfbReadExact’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c:963:17: danger: ‘reason’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:502:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtcp’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:500:50: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:502:5: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:502:5: danger: ‘rtcp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:515:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtcp’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:500:50: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:504:7: branch_false: following ‘false’ branch (when ‘rtcp’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:512:5: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:515:5: throw: if ‘rfbEnableExtension’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/tightvnc-filetransfer/rfbtightserver.c:515:5: danger: ‘rtcp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:173:20: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: throw: if ‘rfbReadExactTimeout’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: throw: if ‘rfbReadExactTimeout’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:192:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:191:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:192:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:192:17: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:192:17: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:195:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:188:17: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:191:16: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:191:16: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:195:17: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:195:17: throw: if ‘rfbLogPerror’ throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:195:17: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:253:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:162:1: enter_function: entry to ‘webSocketsHandshake’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:203:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:205:12: branch_false: following ‘false’ branch (when ‘llen <= 1’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:205:12: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:12: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:203:9: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:205:12: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:207:17: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:226:23: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:226:23: branch_false: following ‘false’ branch (when ‘llen <= 15’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:232:53: call_function: inlined call to ‘min’ from ‘webSocketsHandshake’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:232:23: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:236:55: call_function: inlined call to ‘min’ from ‘webSocketsHandshake’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:236:23: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:240:67: call_function: inlined call to ‘min’ from ‘webSocketsHandshake’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:240:23: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:244:24: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:244:23: branch_false: following ‘false’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:250:71: call_function: inlined call to ‘min’ from ‘webSocketsHandshake’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:250:23: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:251:17: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:253:17: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:253:17: danger: ‘response’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:272:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:174:8: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:178:25: acquire_memory: allocated here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:179:8: branch_false: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:185:12: branch_true: following ‘true’ branch (when ‘len <= 4094’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:186:18: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:188:16: branch_true: following ‘true’ branch...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:271:8: branch_true: following ‘true’ branch (when ‘sec_ws_version == 0’)...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:272:9: branch_true: ...to here
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:272:9: throw: if the called function throws an exception...
libvncserver-LibVNCServer-0.9.15/src/libvncserver/websockets.c:272:9: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-98.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | libvncserver-0.9.15-5.fc44 |
| store-results-to | /tmp/tmp7q58wr12/libvncserver-0.9.15-5.fc44.tar.xz |
| time-created | 2026-01-08 19:16:37 |
| time-finished | 2026-01-08 19:18:49 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp7q58wr12/libvncserver-0.9.15-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7q58wr12/libvncserver-0.9.15-5.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |