Error: CLANG_WARNING: [#def1] xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:389:34: warning[core.NullDereference]: Access to field 'fbo' results in a dereference of a null pointer # 387| # 388| glActiveTexture(GL_TEXTURE1); # 389|-> glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[1]->fbo->tex); # 390| glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); # 391| glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); Error: CLANG_WARNING: [#def2] xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c:955:10: warning[core.NullDereference]: Access to field 'class' results in a dereference of a null pointer (loaded from variable 'window_visual') # 953| } # 954| # 955|-> if ((window_visual->class != TrueColor && # 956| window_visual->class != DirectColor) || # 957| window_visual->redMask != parent_visual->redMask || Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c: scope_hint: In function ‘xwl_avoid_implicit_redirect’ xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c:955:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘window_visual’ # 953| } # 954| # 955|-> if ((window_visual->class != TrueColor && # 956| window_visual->class != DirectColor) || # 957| window_visual->redMask != parent_visual->redMask || Error: CLANG_WARNING: [#def4] xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-window-buffers.c:185:16: warning[unix.Malloc]: Use of memory after it is freed # 183| link_buffer); # 184| # 185|-> return oldest_available_buffer->time + BUFFER_TIMEOUT - time; # 186| } # 187| Error: GCC_ANALYZER_WARNING (CWE-762): [#def5] xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c: scope_hint: In function ‘xstrtokenize’ xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c:2071:17: warning[-Wanalyzer-mismatching-deallocation]: ‘list’ should have been deallocated with ‘free’ but was deallocated with ‘reallocarray’ # 2069| goto error; # 2070| for (tok = strtok(tmp, separators); tok; tok = strtok(NULL, separators)) { # 2071|-> nlist = reallocarray(list, num + 2, sizeof(*list)); # 2072| if (!nlist) # 2073| goto error;
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-140.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | xorg-x11-server-Xwayland-24.1.0-2.fc41 |
diffbase-store-results-to | /tmp/tmptp9mmjza/xorg-x11-server-Xwayland-24.1.0-2.fc41.tar.xz |
diffbase-time-created | 2024-07-03 19:44:42 |
diffbase-time-finished | 2024-07-03 19:49:46 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptp9mmjza/xorg-x11-server-Xwayland-24.1.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmptp9mmjza/xorg-x11-server-Xwayland-24.1.0-2.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-140.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | xorg-x11-server-Xwayland-23.2.4-3.fc40 |
store-results-to | /tmp/tmphtewue53/xorg-x11-server-Xwayland-23.2.4-3.fc40.tar.xz |
time-created | 2024-07-03 19:38:57 |
time-finished | 2024-07-03 19:44:23 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphtewue53/xorg-x11-server-Xwayland-23.2.4-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmphtewue53/xorg-x11-server-Xwayland-23.2.4-3.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |