Task #24646 - systemd-256.7-1.fc41/scan.log
back to task #24646download
<...trimmed, download required for full log>
[118/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/siphash24.c.o -MF src/basic/libbasic.a.p/siphash24.c.o.d -o src/basic/libbasic.a.p/siphash24.c.o -c ../src/basic/siphash24.c
[119/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/sort-util.c.o -MF src/basic/libbasic.a.p/sort-util.c.o.d -o src/basic/libbasic.a.p/sort-util.c.o -c ../src/basic/sort-util.c
[120/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/socket-util.c.o -MF src/basic/libbasic.a.p/socket-util.c.o.d -o src/basic/libbasic.a.p/socket-util.c.o -c ../src/basic/socket-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c: In function ‘vsock_get_local_cid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c:1762:20: warning: leak of file descriptor ‘*open64 ("/dev/vsock", 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c:19: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c:1762:20: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c:1762:20: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.c:1762:20: note: (4) ‘*open64 ("/dev/vsock", 524288)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
[121/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/string-table.c.o -MF src/basic/libbasic.a.p/string-table.c.o.d -o src/basic/libbasic.a.p/string-table.c.o -c ../src/basic/string-table.c
[122/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/sync-util.c.o -MF src/basic/libbasic.a.p/sync-util.c.o.d -o src/basic/libbasic.a.p/sync-util.c.o -c ../src/basic/sync-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c: In function ‘fsync_path_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:90:37: warning: leak of file descriptor ‘*open64 (".", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:89:20: note: (1) following ‘true’ branch (when ‘at_fd_13(D) == -100’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:90:37: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:90:37: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:90:37: note: (4) ‘*open64 (".", 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c: In function ‘fsync_parent_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:115:29: warning: leak of file descriptor ‘*open64 ("..", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:112:20: note: (1) following ‘false’ branch (when ‘at_fd_11(D) == -100’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:115:29: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:115:29: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:115:29: note: (4) ‘*open64 ("..", 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c: In function ‘fsync_path_and_parent_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:136:29: warning: leak of file descriptor ‘*open64 (".", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:133:20: note: (1) following ‘false’ branch (when ‘at_fd_10(D) == -100’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:136:29: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:136:29: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:136:29: note: (4) ‘*open64 (".", 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c: In function ‘syncfs_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:152:22: warning: leak of file descriptor ‘*open64 (".", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:149:20: note: (1) following ‘false’ branch (when ‘at_fd_12(D) == -100’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:152:22: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:152:22: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/sync-util.c:152:22: note: (4) ‘*open64 (".", 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
[123/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/sysctl-util.c.o -MF src/basic/libbasic.a.p/sysctl-util.c.o.d -o src/basic/libbasic.a.p/sysctl-util.c.o -c ../src/basic/sysctl-util.c
[124/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/syslog-util.c.o -MF src/basic/libbasic.a.p/syslog-util.c.o.d -o src/basic/libbasic.a.p/syslog-util.c.o -c ../src/basic/syslog-util.c
[125/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/strxcpyx.c.o -MF src/basic/libbasic.a.p/strxcpyx.c.o.d -o src/basic/libbasic.a.p/strxcpyx.c.o -c ../src/basic/strxcpyx.c
[126/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/strbuf.c.o -MF src/basic/libbasic.a.p/strbuf.c.o.d -o src/basic/libbasic.a.p/strbuf.c.o -c ../src/basic/strbuf.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c: In function ‘strbuf_add_string’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:175:9: warning: use of uninitialized value ‘c_48’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:109:17: note: (1) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:109:17: note: (2) capacity: 1 byte <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:114:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:119:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:120:12: note: (5) following ‘false’ branch (when ‘len_61(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:124:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:127:38: note: (7) following ‘false’ branch (when ‘depth_50 > len_61(D)’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:149:42: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:149:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:151:18: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:160:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:162:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:169:12: note: (13) following ‘false’ branch (when ‘child_87’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:172:12: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strbuf.c:175:9: note: (15) use of uninitialized value ‘c_48’ here <--[csmock-gcc-wrapper]
[127/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/stat-util.c.o -MF src/basic/libbasic.a.p/stat-util.c.o.d -o src/basic/libbasic.a.p/stat-util.c.o -c ../src/basic/stat-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c: In function ‘dir_is_empty_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:166:22: warning: leak of file descriptor ‘*open64 (".", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:159:12: note: (1) following ‘false’ branch (when ‘path_34(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:165:19: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:165:19: note: (3) following ‘true’ branch (when ‘dir_fd_35(D) == -100’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:166:22: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:166:22: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:166:22: note: (6) ‘*open64 (".", 589824)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c: In function ‘path_is_read_only_fs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:266:14: warning: leak of file descriptor ‘*open64 (path_10(D), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:266:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:266:14: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.c:266:14: note: (4) ‘*open64 (path_10(D), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
[128/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/uid-classification.c.o -MF src/basic/libbasic.a.p/uid-classification.c.o.d -o src/basic/libbasic.a.p/uid-classification.c.o -c ../src/basic/uid-classification.c
[129/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/unit-def.c.o -MF src/basic/libbasic.a.p/unit-def.c.o.d -o src/basic/libbasic.a.p/unit-def.c.o -c ../src/basic/unit-def.c
[130/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/string-util.c.o -MF src/basic/libbasic.a.p/string-util.c.o.d -o src/basic/libbasic.a.p/string-util.c.o -c ../src/basic/string-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:9: <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: warning: leak of ‘malloc_multiply (new_length_36(D) + 3, 1)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c: In function ‘ascii_ellipsize_mem’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:348:14: note: (1) entry to ‘ascii_ellipsize_mem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:356:12: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:356:12: note: (8) following ‘false’ branch (when ‘new_length_36(D) < old_length_37(D)’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:360:9: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (10) calling ‘malloc_multiply’ from ‘ascii_ellipsize_mem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (11) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (12) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (13) returning to ‘ascii_ellipsize_mem’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:387:12: note: (14) assuming ‘malloc_multiply (new_length_36(D) + 3, 1)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:387:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (17) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: note: (18) ‘malloc_multiply (new_length_36(D) + 3, 1)’ leaks here; was allocated at (12) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: warning: leak of ‘malloc_multiply (new_length_36(D) + 3, 1)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c: In function ‘ascii_ellipsize_mem’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:348:14: note: (1) entry to ‘ascii_ellipsize_mem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:356:12: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:356:12: note: (8) following ‘false’ branch (when ‘new_length_36(D) < old_length_37(D)’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:360:9: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (10) calling ‘malloc_multiply’ from ‘ascii_ellipsize_mem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (11) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (12) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (13) returning to ‘ascii_ellipsize_mem’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:387:12: note: (14) assuming ‘malloc_multiply (new_length_36(D) + 3, 1)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:387:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.c:392:26: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (19) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: note: (20) ‘malloc_multiply (new_length_36(D) + 3, 1)’ leaks here; was allocated at (12) <--[csmock-gcc-wrapper]
[131/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/terminal-util.c.o -MF src/basic/libbasic.a.p/terminal-util.c.o.d -o src/basic/libbasic.a.p/terminal-util.c.o -c ../src/basic/terminal-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c: In function ‘release_terminal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:507:14: warning: leak of file descriptor ‘*open64 ("/dev/tty", 526594)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:507:14: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:507:14: note: (2) ‘*open64 ("/dev/tty", 526594)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:37: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c: In function ‘getttyname_harder’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: warning: use of NULL ‘s’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:1002:5: note: (1) entry to ‘getttyname_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:1003:30: note: (2) ‘s’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:1006:13: note: (3) calling ‘getttyname_malloc’ from ‘getttyname_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:985:5: note: (4) entry to ‘getttyname_malloc’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:23: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:992:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:994:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:996:12: note: (11) following ‘true’ branch (when ‘r_17 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:997:24: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:1006:13: note: (13) returning to ‘getttyname_harder’ from ‘getttyname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.c:1007:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (16) ‘s’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (17) argument 1 (‘s’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:8: <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
[132/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/strv.c.o -MF src/basic/libbasic.a.p/strv.c.o.d -o src/basic/libbasic.a.p/strv.c.o -c ../src/basic/strv.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c: In function ‘string_strv_hashmap_put_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:455:24: warning: leak of ‘strdup (key_17(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:911:12: note: (1) entry to ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:916:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:928:44: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:931:21: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:932:20: note: (5) assuming ‘strdup (key_17(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:932:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:935:21: note: (7) inlined call to ‘strv_extend’ from ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:18: <--[csmock-gcc-wrapper]
In function ‘strv_extend’,
inlined from ‘string_strv_hashmap_put_internal’ at ../src/basic/strv.c:935:21:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:58:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:58:16: note: (9) calling ‘strv_extend_with_size’ from ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c: In function ‘string_strv_hashmap_put_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:578:5: note: (10) entry to ‘strv_extend_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:581:12: note: (11) following ‘false’ branch (when ‘value_3(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
cc1: note: (12) ...to here
cc1: note: (13) calling ‘strv_extend_with_size.part.0’ from ‘strv_extend_with_size’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:578:5: note: (14) entry to ‘strv_extend_with_size.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:585:12: note: (15) following ‘false’ branch (when ‘v_2’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:588:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:588:16: note: (17) calling ‘strv_consume_with_size’ from ‘strv_extend_with_size.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:533:5: note: (18) entry to ‘strv_consume_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:536:13: note: (19) calling ‘strv_push_with_size’ from ‘strv_consume_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:444:5: note: (20) entry to ‘strv_push_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:450:12: note: (21) following ‘false’ branch (when ‘value_13(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:453:30: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:453:30: note: (23) following ‘false’ branch (when ‘n_14(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:455:24: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:455:24: note: (25) calling ‘strv_length’ from ‘strv_push_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:142:8: note: (26) entry to ‘strv_length’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/escape.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (27) following ‘false’ branch (when ‘__unique_prefix_i23_3’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:148:16: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:455:24: note: (29) returning to ‘strv_push_with_size’ from ‘strv_length’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:458:12: note: (30) following ‘false’ branch (when ‘size_9 <= 18446744073709551613’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:461:20: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:461:20: note: (32) calling ‘GREEDY_ALLOC_ROUND_UP’ from ‘strv_push_with_size’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:79:22: note: (33) entry to ‘GREEDY_ALLOC_ROUND_UP’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:92:12: note: (34) following ‘true’ branch (when ‘l_2(D) <= 2’)... <--[csmock-gcc-wrapper]
cc1: note: (35) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:461:20: note: (36) returning to ‘strv_push_with_size’ from ‘GREEDY_ALLOC_ROUND_UP’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:462:12: note: (37) following ‘false’ branch (when ‘c_21’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:465:10: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:469:12: note: (39) following ‘false’ branch (when ‘n_14(D)’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (40) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:536:13: note: (41) returning to ‘strv_consume_with_size’ from ‘strv_push_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:537:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:540:16: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:588:16: note: (44) returning to ‘strv_extend_with_size.part.0’ from ‘strv_consume_with_size’ <--[csmock-gcc-wrapper]
cc1: note: (45) returning to ‘strv_extend_with_size’ from ‘strv_extend_with_size.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:935:21: note: (46) inlined call to ‘strv_extend’ from ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
In function ‘strv_extend’,
inlined from ‘string_strv_hashmap_put_internal’ at ../src/basic/strv.c:935:21:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:58:16: note: (47) returning to ‘string_strv_hashmap_put_internal’ from ‘strv_extend_with_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c: In function ‘string_strv_hashmap_put_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:936:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:939:21: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:455:24: note: (50) ‘strdup (key_17(D))’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:939:21: warning: leak of ‘strdup (key_17(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:911:12: note: (1) entry to ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:916:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:928:44: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:931:21: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:932:20: note: (5) assuming ‘strdup (key_17(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:932:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:935:21: note: (7) inlined call to ‘strv_extend’ from ‘string_strv_hashmap_put_internal’ <--[csmock-gcc-wrapper]
In function ‘strv_extend’,
inlined from ‘string_strv_hashmap_put_internal’ at ../src/basic/strv.c:935:21:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:58:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c: In function ‘string_strv_hashmap_put_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:936:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:939:21: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.c:939:21: note: (11) ‘strdup (key_17(D))’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
[133/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/time-util.c.o -MF src/basic/libbasic.a.p/time-util.c.o.d -o src/basic/libbasic.a.p/time-util.c.o -c ../src/basic/time-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c: In function ‘get_timezones_from_zone1970_tab’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: warning: leak of FILE ‘*fopen64 ("/usr/share/zoneinfo/zone1970.tab", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (4) ‘*fopen64 ("/usr/share/zoneinfo/zone1970.tab", "re")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: warning: leak of ‘*fopen64 ("/usr/share/zoneinfo/zone1970.tab", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (3) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1415:13: note: (4) ‘*fopen64 ("/usr/share/zoneinfo/zone1970.tab", "re")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c: In function ‘get_timezones_from_tzdata_zi’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: warning: leak of FILE ‘*fopen64 ("/usr/share/zoneinfo/tzdata.zi", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (4) ‘*fopen64 ("/usr/share/zoneinfo/tzdata.zi", "re")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: warning: leak of ‘*fopen64 ("/usr/share/zoneinfo/tzdata.zi", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (3) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1456:13: note: (4) ‘*fopen64 ("/usr/share/zoneinfo/tzdata.zi", "re")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c: In function ‘verify_timezone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1570:14: warning: leak of file descriptor ‘*open64 (alloca (MAX_EXPR <_n__53, 1>), 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1529:5: note: (1) entry to ‘verify_timezone’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1536:13: note: (2) inlined call to ‘isempty’ from ‘verify_timezone’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:23: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘verify_timezone’ at ../src/basic/time-util.c:1536:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c: In function ‘verify_timezone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1540:12: note: (5) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1543:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1543:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (8) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1546:24: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1547:22: note: (10) inlined call to ‘ascii_isdigit’ from ‘verify_timezone’ <--[csmock-gcc-wrapper]
In function ‘ascii_isdigit’,
inlined from ‘verify_timezone’ at ../src/basic/time-util.c:1547:22:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:111:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c: In function ‘verify_timezone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1552:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1546:29: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1562:12: note: (14) following ‘false’ branch (when ‘slash_25 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1565:15: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1565:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:61: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:120:34: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1568:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:61: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:123:31: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1570:14: note: (24) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/time-util.c:1570:14: note: (25) ‘*open64 (alloca (MAX_EXPR <_n__53, 1>), 524288)’ leaks here; was opened at (24) <--[csmock-gcc-wrapper]
[134/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/tmpfile-util.c.o -MF src/basic/libbasic.a.p/tmpfile-util.c.o.d -o src/basic/libbasic.a.p/tmpfile-util.c.o -c ../src/basic/tmpfile-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c: In function ‘tempfn_build’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:188:1: warning: leak of ‘d’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:121:12: note: (1) entry to ‘tempfn_build’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:138:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:147:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:148:48: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:147:47: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:151:27: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:153:12: note: (10) following ‘true’ branch (when ‘child_37(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:154:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:154:21: note: (12) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:155:20: note: (13) assuming ‘d’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:155:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:14: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:111:25: note: (15) inlined call to ‘strempty’ from ‘tempfn_build’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10: <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘tempfn_build’ at ../src/basic/tmpfile-util.c:171:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c: In function ‘tempfn_build’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:111:25: note: (17) inlined call to ‘strempty’ from ‘tempfn_build’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘tempfn_build’ at ../src/basic/tmpfile-util.c:171:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘tempfn_build’:
cc1: note: (19) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:172:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (21) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:188:1: note: (22) ‘d’ leaks here; was allocated at (12) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c: In function ‘mkdtemp_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:414:5: note: (1) entry to ‘mkdtemp_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:415:30: note: (2) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:418:13: note: (3) calling ‘mkdtemp_malloc’ from ‘mkdtemp_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:387:5: note: (4) entry to ‘mkdtemp_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:393:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:404:12: note: (7) following ‘false’ branch (when ‘p_30’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:407:14: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:407:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:408:25: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:418:13: note: (11) returning to ‘mkdtemp_open’ from ‘mkdtemp_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:419:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (14) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (15) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /usr/include/features.h:524, <--[csmock-gcc-wrapper]
from /usr/include/sys/mman.h:22, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:3: <--[csmock-gcc-wrapper]
/usr/include/fcntl.h:212:12: note: argument 1 of ‘*open64’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: warning: leak of file descriptor ‘*open64 (p, flags_13(D) | 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:414:5: note: (1) entry to ‘mkdtemp_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:418:13: note: (2) calling ‘mkdtemp_malloc’ from ‘mkdtemp_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:387:5: note: (3) entry to ‘mkdtemp_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:393:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:404:12: note: (6) following ‘false’ branch (when ‘p_30’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:407:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:407:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:410:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:418:13: note: (10) returning to ‘mkdtemp_open’ from ‘mkdtemp_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:419:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (13) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/tmpfile-util.c:422:14: note: (14) ‘*open64 (p, flags_13(D) | 589824)’ leaks here; was opened at (13) <--[csmock-gcc-wrapper]
[135/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/unit-file.c.o -MF src/basic/libbasic.a.p/unit-file.c.o.d -o src/basic/libbasic.a.p/unit-file.c.o -c ../src/basic/unit-file.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:5: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘unit_ids_map_get’ at ../src/basic/unit-file.c:177:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&template]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c: In function ‘unit_ids_map_get’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:655:12: note: (1) entry to ‘add_names’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:672:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:673:21: note: (4) calling ‘add_name’ from ‘add_names’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:638:12: note: (5) entry to ‘add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:126:49: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:673:21: note: (10) returning to ‘add_names’ from ‘add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:674:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:682:19: note: (12) inlined call to ‘hashmap_get’ from ‘add_names’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:6: <--[csmock-gcc-wrapper]
In function ‘hashmap_get’,
inlined from ‘add_names’ at ../src/basic/unit-file.c:682:19:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:170:16: note: (13) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c: In function ‘unit_ids_map_get’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:684:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:689:28: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:696:29: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:696:29: note: (18) calling ‘unit_ids_map_get’ from ‘add_names’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:159:12: note: (19) entry to ‘unit_ids_map_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:174:32: note: (20) following ‘true’ branch (when ‘n_5 != 8’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:175:33: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:175:33: note: (22) following ‘false’ branch (when ‘id_4’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (23) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:179:28: note: (24) following ‘true’ branch (when ‘id_4’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:177:46: note: (25) inlined call to ‘freep’ from ‘unit_ids_map_get’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘unit_ids_map_get’ at ../src/basic/unit-file.c:177:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (27) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c: In function ‘unit_ids_map_get’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:696:29: note: (28) returning to ‘add_names’ from ‘unit_ids_map_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:697:28: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (31) following ‘case -6:, case -2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:700:29: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:700:28: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:708:29: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:708:29: note: (35) calling ‘add_name’ from ‘add_names’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:638:12: note: (36) entry to ‘add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:126:49: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:708:29: note: (41) returning to ‘add_names’ from ‘add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:711:20: note: (42) following ‘false’ branch (when ‘r_20 >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:57: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:684:20: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:684:20: note: (46) following ‘true’ branch (when ‘name_type_39(D) == 4’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:684:56: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:689:28: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:696:29: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:696:29: note: (50) calling ‘unit_ids_map_get’ from ‘add_names’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:159:12: note: (51) entry to ‘unit_ids_map_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:174:32: note: (52) following ‘true’ branch (when ‘n_5 != 8’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:175:33: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:175:33: note: (54) following ‘false’ branch (when ‘id_4’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (55) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:179:28: note: (56) following ‘true’ branch (when ‘id_4’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:177:46: note: (57) inlined call to ‘freep’ from ‘unit_ids_map_get’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘unit_ids_map_get’ at ../src/basic/unit-file.c:177:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (59) second ‘free’ here; first ‘free’ was at (27) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c: In function ‘unit_file_build_name_map’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:459:21: warning: leak of ‘opendir (*__unique_prefix_i14_72)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:405:12: note: (1) following ‘false’ branch (when ‘cache_timestamp_hash_135(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:412:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:412:12: note: (3) following ‘true’ branch (when ‘path_cache_139(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:12:22: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:414:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:436:38: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:439:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:442:21: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (11) following ‘true’ branch (when ‘__unique_prefix_i13_71’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:52: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:459:21: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:459:21: note: (17) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-file.c:459:21: note: (18) ‘opendir (*__unique_prefix_i14_72)’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper]
[136/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/utf8.c.o -MF src/basic/libbasic.a.p/utf8.c.o.d -o src/basic/libbasic.a.p/utf8.c.o -c ../src/basic/utf8.c
[137/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/.._fundamental_bootspec-fundamental.c.o -MF src/basic/libbasic.a.p/.._fundamental_bootspec-fundamental.c.o.d -o src/basic/libbasic.a.p/.._fundamental_bootspec-fundamental.c.o -c ../src/fundamental/bootspec-fundamental.c
[138/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/xattr-util.c.o -MF src/basic/libbasic.a.p/xattr-util.c.o.d -o src/basic/libbasic.a.p/xattr-util.c.o -c ../src/basic/xattr-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c: In function ‘getxattr_at_bool’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:130:13: warning: use of NULL ‘v’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:122:5: note: (1) entry to ‘getxattr_at_bool’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:123:30: note: (2) ‘v’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:126:13: note: (3) calling ‘getxattr_at_malloc’ from ‘getxattr_at_bool’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:23:5: note: (4) entry to ‘getxattr_at_malloc’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:37:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:50:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:66:20: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:67:33: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:126:13: note: (15) returning to ‘getxattr_at_bool’ from ‘getxattr_at_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:127:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:130:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:130:13: note: (18) ‘v’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/xattr-util.c:130:13: note: (19) argument 1 (‘v’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:8: <--[csmock-gcc-wrapper]
/usr/include/string.h:107:14: note: argument 1 of ‘memchr’ must be non-null <--[csmock-gcc-wrapper]
[139/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/virt.c.o -MF src/basic/libbasic.a.p/virt.c.o.d -o src/basic/libbasic.a.p/virt.c.o -c ../src/basic/virt.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c: In function ‘detect_vm_uml’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: warning: leak of FILE ‘*fopen64 ("/proc/cpuinfo", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:448:16: note: (1) entry to ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:469:15: note: (2) calling ‘detect_vm_dmi’ from ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:252:23: note: (3) entry to ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:256:13: note: (4) calling ‘detect_vm_dmi_vendor’ from ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:159:23: note: (5) entry to ‘detect_vm_dmi_vendor’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:14, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:195:38: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:256:13: note: (8) returning to ‘detect_vm_dmi’ from ‘detect_vm_dmi_vendor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:469:15: note: (9) returning to ‘detect_vm.part.0’ from ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (10) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:481:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:481:13: note: (12) calling ‘detect_vm_uml’ from ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:385:23: note: (13) entry to ‘detect_vm_uml’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: note: (14) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: note: (15) ‘*fopen64 ("/proc/cpuinfo", "re")’ leaks here; was opened at (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: warning: leak of ‘*fopen64 ("/proc/cpuinfo", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:448:16: note: (1) entry to ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:469:15: note: (2) calling ‘detect_vm_dmi’ from ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:252:23: note: (3) entry to ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:256:13: note: (4) calling ‘detect_vm_dmi_vendor’ from ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:159:23: note: (5) entry to ‘detect_vm_dmi_vendor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:195:38: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:256:13: note: (8) returning to ‘detect_vm_dmi’ from ‘detect_vm_dmi_vendor’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:469:15: note: (9) returning to ‘detect_vm.part.0’ from ‘detect_vm_dmi’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (10) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:481:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:481:13: note: (12) calling ‘detect_vm_uml’ from ‘detect_vm.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:385:23: note: (13) entry to ‘detect_vm_uml’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: note: (14) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:390:13: note: (15) ‘*fopen64 ("/proc/cpuinfo", "re")’ leaks here; was allocated at (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c: In function ‘userns_has_mapping’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: warning: leak of FILE ‘*fopen64 (name_26(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: note: (2) ‘*fopen64 (name_26(D), "re")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: warning: leak of ‘*fopen64 (name_26(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/virt.c:837:13: note: (2) ‘*fopen64 (name_26(D), "re")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
[140/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/uid-range.c.o -MF src/basic/libbasic.a.p/uid-range.c.o.d -o src/basic/libbasic.a.p/uid-range.c.o -c ../src/basic/uid-range.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c: In function ‘uid_range_load_userns’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: warning: leak of FILE ‘*fopen64 (path_18, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:223:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: note: (8) ‘*fopen64 (path_18, "re")’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: warning: leak of ‘*fopen64 (path_18, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:223:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:226:13: note: (8) ‘*fopen64 (path_18, "re")’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: warning: use of uninitialized value ‘uid_range’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:264:5: note: (1) entry to ‘uid_range_load_userns_by_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:276:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:276:13: note: (10) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:276:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:282:38: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:285:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:287:12: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:287:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:307:18: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:310:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:312:12: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:312:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:22:23: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:321:16: note: (25) calling ‘uid_range_load_userns’ from ‘uid_range_load_userns_by_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:208:5: note: (26) entry to ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:241:44: note: (27) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:241:44: note: (28) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:223:12: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:227:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:25:26: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:237:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (38) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (39) calling ‘uid_map_read_one’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:184:5: note: (40) entry to ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:193:9: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:195:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:198:12: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:198:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:201:19: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (55) returning to ‘uid_range_load_userns’ from ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:244:20: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (60) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (62) calling ‘uid_range_add_internal’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:80:5: note: (63) entry to ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:86:12: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:92:12: note: (66) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:102:42: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:102:12: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:105:10: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:110:12: note: (70) following ‘false’ branch (when ‘coalesce_35(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:380:25: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (72) calling ‘uid_range_freep’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.h:19:40: note: (73) entry to ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:496:9: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (76) returning to ‘uid_range_add_internal’ from ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (77) returning to ‘uid_range_load_userns’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:254:20: note: (78) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:240:18: note: (79) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (80) calling ‘uid_map_read_one’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:184:5: note: (81) entry to ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (82) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (83) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (86) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (88) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:193:9: note: (89) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (90) returning to ‘uid_range_load_userns’ from ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:244:20: note: (91) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (92) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (93) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (94) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (95) use of uninitialized value ‘uid_range’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: warning: use of uninitialized value ‘uid_range’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:208:5: note: (1) entry to ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:241:44: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:241:44: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:223:12: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:227:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:25:26: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:237:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (14) calling ‘uid_map_read_one’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:184:5: note: (15) entry to ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:193:9: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:195:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:198:12: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:198:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:201:19: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (30) returning to ‘uid_range_load_userns’ from ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:244:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (35) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (37) calling ‘uid_range_add_internal’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:80:5: note: (38) entry to ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:86:12: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:92:12: note: (41) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:102:42: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:102:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:105:10: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:110:12: note: (45) following ‘false’ branch (when ‘coalesce_35(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:380:25: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (47) calling ‘uid_range_freep’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.h:19:40: note: (48) entry to ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:496:9: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (51) returning to ‘uid_range_add_internal’ from ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (52) returning to ‘uid_range_load_userns’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:254:20: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:240:18: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (55) calling ‘uid_map_read_one’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:184:5: note: (56) entry to ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:193:9: note: (64) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:198:12: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (67) returning to ‘uid_range_load_userns’ from ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:244:20: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (72) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (73) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (74) calling ‘uid_range_add_internal’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:80:5: note: (75) entry to ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (76) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:86:12: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (78) calling ‘uid_range_freep’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.h:19:40: note: (79) entry to ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (80) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:496:9: note: (81) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:81:46: note: (82) returning to ‘uid_range_add_internal’ from ‘uid_range_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (83) returning to ‘uid_range_load_userns’ from ‘uid_range_add_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:254:20: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:240:18: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (86) calling ‘uid_map_read_one’ from ‘uid_range_load_userns’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:184:5: note: (87) entry to ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (88) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (89) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (90) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (91) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (92) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (93) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (94) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:193:9: note: (95) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:243:21: note: (96) returning to ‘uid_range_load_userns’ from ‘uid_map_read_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:244:20: note: (97) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (98) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:246:20: note: (99) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (100) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/uid-range.c:249:21: note: (101) use of uninitialized value ‘uid_range’ here <--[csmock-gcc-wrapper]
[141/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/user-util.c.o -MF src/basic/libbasic.a.p/user-util.c.o.d -o src/basic/libbasic.a.p/user-util.c.o -c ../src/basic/user-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘default_root_shell’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:178:15: warning: leak of file descriptor ‘*open64 (_11, 2686976)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:178:15: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:178:15: note: (2) ‘*open64 (_11, 2686976)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
In function ‘gid_list_has’,
inlined from ‘in_gid’ at ../src/basic/user-util.c:494:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:472:25: warning: dereference of NULL ‘0B’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_gid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:477:5: note: (1) entry to ‘in_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:481:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:484:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:484:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:487:14: note: (5) inlined call to ‘gid_is_valid’ from ‘in_gid’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:17, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:17: <--[csmock-gcc-wrapper]
In function ‘gid_is_valid’,
inlined from ‘in_gid’ at ../src/basic/user-util.c:487:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.h:26:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_gid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:487:12: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:490:19: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:490:19: note: (9) calling ‘getgroups_alloc’ from ‘in_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:530:5: note: (10) entry to ‘getgroups_alloc’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:16: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (11) calling ‘malloc_multiply’ from ‘getgroups_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (12) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (13) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:9: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:45: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_gid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (16) returning to ‘getgroups_alloc’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:543:20: note: (17) following ‘false’ branch (when ‘ngroups_16 < 0’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:545:21: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:490:19: note: (19) returning to ‘in_gid’ from ‘getgroups_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:491:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:494:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:494:16: note: (22) inlined call to ‘gid_list_has’ from ‘in_gid’ <--[csmock-gcc-wrapper]
In function ‘gid_list_has’,
inlined from ‘in_gid’ at ../src/basic/user-util.c:494:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:471:30: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:472:25: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:472:25: note: (25) ‘0B’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:472:25: note: (26) dereference of NULL ‘gids + i_19 * 4’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:505:16: warning: use of uninitialized value ‘gid’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:497:5: note: (1) entry to ‘in_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:499:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:499:15: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:501:13: note: (4) calling ‘get_group_creds’ from ‘in_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:364:5: note: (5) entry to ‘get_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:371:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:373:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:373:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:374:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:374:21: note: (12) calling ‘synthesize_group_creds’ from ‘get_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:335:12: note: (13) entry to ‘synthesize_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:340:16: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:26: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:342:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:374:21: note: (20) returning to ‘get_group_creds’ from ‘synthesize_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:375:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:381:13: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:381:13: note: (23) inlined call to ‘parse_gid’ from ‘get_group_creds’ <--[csmock-gcc-wrapper]
In function ‘parse_gid’,
inlined from ‘get_group_creds’ at ../src/basic/user-util.c:381:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.h:33:16: note: (24) calling ‘parse_uid’ from ‘get_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:48:5: note: (25) entry to ‘parse_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:60:13: note: (27) inlined call to ‘safe_atou32_full’ from ‘parse_uid’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:25: <--[csmock-gcc-wrapper]
In function ‘safe_atou32_full’,
inlined from ‘parse_uid’ at ../src/basic/user-util.c:60:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/parse-util.h:66:16: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:381:13: note: (29) inlined call to ‘parse_gid’ from ‘get_group_creds’ <--[csmock-gcc-wrapper]
In function ‘parse_gid’,
inlined from ‘get_group_creds’ at ../src/basic/user-util.c:381:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.h:33:16: note: (30) returning to ‘get_group_creds’ from ‘parse_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘in_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:381:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:394:17: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:403:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:407:24: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:501:13: note: (35) returning to ‘in_group’ from ‘get_group_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:502:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:505:16: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:505:16: note: (38) use of uninitialized value ‘gid’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘is_this_me’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1038:20: warning: use of uninitialized value ‘uid’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1028:5: note: (1) entry to ‘is_this_me’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1029:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1029:15: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1034:13: note: (4) calling ‘get_user_creds’ from ‘is_this_me’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:232:5: note: (5) entry to ‘get_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:245:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:247:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:247:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:259:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:259:21: note: (12) calling ‘synthesize_user_creds’ from ‘get_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:185:12: note: (13) entry to ‘synthesize_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:193:16: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:198:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:259:21: note: (20) returning to ‘get_user_creds’ from ‘synthesize_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:260:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:266:13: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:266:13: note: (23) calling ‘parse_uid’ from ‘get_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:48:5: note: (24) entry to ‘parse_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:60:13: note: (26) inlined call to ‘safe_atou32_full’ from ‘parse_uid’ <--[csmock-gcc-wrapper]
In function ‘safe_atou32_full’,
inlined from ‘parse_uid’ at ../src/basic/user-util.c:60:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/parse-util.h:66:16: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c: In function ‘is_this_me’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:266:13: note: (28) returning to ‘get_user_creds’ from ‘parse_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:296:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:300:24: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1034:13: note: (31) returning to ‘is_this_me’ from ‘get_user_creds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1035:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1038:23: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/user-util.c:1038:20: note: (34) use of uninitialized value ‘uid’ here <--[csmock-gcc-wrapper]
[142/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/.._fundamental_sha256-fundamental.c.o -MF src/basic/libbasic.a.p/.._fundamental_sha256-fundamental.c.o.d -o src/basic/libbasic.a.p/.._fundamental_sha256-fundamental.c.o -c ../src/fundamental/sha256-fundamental.c
[143/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/.._fundamental_string-util-fundamental.c.o -MF src/basic/libbasic.a.p/.._fundamental_string-util-fundamental.c.o.d -o src/basic/libbasic.a.p/.._fundamental_string-util-fundamental.c.o -c ../src/fundamental/string-util-fundamental.c
[144/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/.._fundamental_uki.c.o -MF src/basic/libbasic.a.p/.._fundamental_uki.c.o.d -o src/basic/libbasic.a.p/.._fundamental_uki.c.o -c ../src/fundamental/uki.c
[145/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-common-errors.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-common-errors.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-common-errors.c.o -c ../src/libsystemd/sd-bus/bus-common-errors.c
[146/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/.._fundamental_efivars-fundamental.c.o -MF src/basic/libbasic.a.p/.._fundamental_efivars-fundamental.c.o.d -o src/basic/libbasic.a.p/.._fundamental_efivars-fundamental.c.o -c ../src/fundamental/efivars-fundamental.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/efivars-fundamental.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
[147/2523] gcc -Isrc/basic/libbasic.a.p -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/unit-name.c.o -MF src/basic/libbasic.a.p/unit-name.c.o.d -o src/basic/libbasic.a.p/unit-name.c.o -c ../src/basic/unit-name.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: warning: check of ‘at_11’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:714:5: note: (1) entry to ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:729:13: note: (7) inlined call to ‘isempty’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/glob-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:11: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:729:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (11) calling ‘unit_suffix_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:114:6: note: (12) entry to ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:115:13: note: (13) inlined call to ‘isempty’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_suffix_is_valid’ at ../src/basic/unit-name.c:115:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (14) following ‘false’ branch (when ‘s_4(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (16) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (19) calling ‘unit_name_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (20) entry to ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:47:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:50:13: note: (24) inlined call to ‘isempty’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_is_valid’ at ../src/basic/unit-name.c:50:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘unit_name_is_valid.part.0’:
cc1: note: (27) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (28) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:740:13: note: (30) inlined call to ‘string_is_glob’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In function ‘string_is_glob’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:740:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/glob-util.h:24:18: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:749:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:771:23: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:772:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (36) calling ‘do_escape_mangle’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:679:13: note: (37) entry to ‘do_escape_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:691:54: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:693:16: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:694:20: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:697:29: note: (44) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (45) returning to ‘unit_name_mangle_with_suffix’ from ‘do_escape_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:776:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:777:44: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:216:27: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:789:12: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:789:58: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:789:58: note: (52) calling ‘unit_name_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (53) entry to ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:47:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:50:13: note: (57) inlined call to ‘isempty’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_is_valid’ at ../src/basic/unit-name.c:50:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘unit_name_is_valid.part.0’:
cc1: note: (60) ...to here
cc1: note: (61) calling ‘unit_name_is_valid.part.0’ from ‘unit_name_is_valid’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (62) entry to ‘unit_name_is_valid.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:53:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:56:13: note: (64) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:57:12: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:60:13: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:60:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (68) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (69) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:20: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (72) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (73) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:20: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:40: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (76) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (78) pointer ‘at_11’ is dereferenced here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: note: (79) following ‘true’ branch (when ‘at_11’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (80) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (81) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:20: note: (82) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:40: note: (83) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (84) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (86) pointer ‘at_11’ is dereferenced here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: note: (87) pointer ‘at_11’ is checked for NULL here but it was already dereferenced at (86) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: warning: check of ‘at_11’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:714:5: note: (1) entry to ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:729:13: note: (7) inlined call to ‘isempty’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:729:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (11) calling ‘unit_suffix_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:114:6: note: (12) entry to ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:115:13: note: (13) inlined call to ‘isempty’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_suffix_is_valid’ at ../src/basic/unit-name.c:115:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (14) following ‘false’ branch (when ‘s_4(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (16) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (19) calling ‘unit_name_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (20) entry to ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:47:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:50:13: note: (24) inlined call to ‘isempty’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_is_valid’ at ../src/basic/unit-name.c:50:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘unit_name_is_valid.part.0’:
cc1: note: (27) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (28) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:740:13: note: (30) inlined call to ‘string_is_glob’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In function ‘string_is_glob’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:740:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/glob-util.h:24:18: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_is_valid.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:749:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:771:23: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:772:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (36) calling ‘do_escape_mangle’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:679:13: note: (37) entry to ‘do_escape_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:691:54: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:693:16: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:694:20: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:697:29: note: (44) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:775:19: note: (45) returning to ‘unit_name_mangle_with_suffix’ from ‘do_escape_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:776:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:777:44: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:216:27: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:784:73: note: (50) calling ‘unit_name_to_type’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:205:10: note: (51) entry to ‘unit_name_to_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:210:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:210:14: note: (54) calling ‘unit_name_is_valid’ from ‘unit_name_to_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (55) entry to ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:47:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:50:13: note: (59) inlined call to ‘isempty’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_is_valid’ at ../src/basic/unit-name.c:50:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘unit_name_is_valid.part.0’:
cc1: note: (62) ...to here
cc1: note: (63) calling ‘unit_name_is_valid.part.0’ from ‘unit_name_is_valid’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (64) entry to ‘unit_name_is_valid.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:53:12: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:56:13: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:57:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:60:13: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:60:12: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (70) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (71) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (72) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:20: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (74) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (75) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:20: note: (76) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:40: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (78) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (79) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (80) pointer ‘at_11’ is dereferenced here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: note: (81) following ‘true’ branch (when ‘at_11’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (82) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:22: note: (83) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:68:20: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:40: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:63:34: note: (86) following ‘true’ branch (when ‘e_3 > i_9’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:21: note: (88) pointer ‘at_11’ is dereferenced here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:65:31: note: (89) pointer ‘at_11’ is checked for NULL here but it was already dereferenced at (88) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: leak of ‘unit_name_escape (_34)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:714:5: note: (1) entry to ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:729:13: note: (7) inlined call to ‘isempty’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:729:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (11) calling ‘unit_suffix_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:114:6: note: (12) entry to ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:115:13: note: (13) inlined call to ‘isempty’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_suffix_is_valid’ at ../src/basic/unit-name.c:115:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (14) following ‘false’ branch (when ‘s_4(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:14: note: (16) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:732:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (19) calling ‘unit_name_is_valid’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:42:6: note: (20) entry to ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:47:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:50:13: note: (24) inlined call to ‘isempty’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_name_is_valid’ at ../src/basic/unit-name.c:50:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘unit_name_path_escape’:
cc1: note: (27) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:13: note: (28) returning to ‘unit_name_mangle_with_suffix’ from ‘unit_name_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:736:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:740:13: note: (30) inlined call to ‘string_is_glob’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In function ‘string_is_glob’,
inlined from ‘unit_name_mangle_with_suffix’ at ../src/basic/unit-name.c:740:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/glob-util.h:24:18: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:749:12: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:750:38: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:752:21: note: (34) calling ‘path_simplify_alloc’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:14: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:92:19: note: (35) entry to ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:95:12: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:95:12: note: (38) following ‘false’ branch (when ‘path_6(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:100:19: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:101:12: note: (40) following ‘false’ branch (when ‘t_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:104:16: note: (41) inlined call to ‘path_simplify’ from ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
In function ‘path_simplify’,
inlined from ‘path_simplify_alloc’ at ../src/basic/path-util.h:104:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:89:16: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:752:21: note: (43) returning to ‘unit_name_mangle_with_suffix’ from ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:753:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:756:21: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:756:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:757:29: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:757:29: note: (48) calling ‘unit_name_from_path’ from ‘unit_name_mangle_with_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:590:5: note: (49) entry to ‘unit_name_from_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:598:14: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:598:14: note: (56) calling ‘unit_suffix_is_valid’ from ‘unit_name_from_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:114:6: note: (57) entry to ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:115:13: note: (58) inlined call to ‘isempty’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘unit_suffix_is_valid’ at ../src/basic/unit-name.c:115:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:118:12: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:118:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (62) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:598:14: note: (63) returning to ‘unit_name_from_path’ from ‘unit_suffix_is_valid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:598:12: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:601:13: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:601:13: note: (66) calling ‘unit_name_path_escape’ from ‘unit_name_from_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:389:5: note: (67) entry to ‘unit_name_path_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:397:13: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:397:13: note: (72) calling ‘path_simplify_alloc’ from ‘unit_name_path_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:92:19: note: (73) entry to ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:95:12: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:95:12: note: (76) following ‘false’ branch (when ‘path_6(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:100:19: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:101:12: note: (78) following ‘false’ branch (when ‘t_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:104:16: note: (79) inlined call to ‘path_simplify’ from ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
In function ‘path_simplify’,
inlined from ‘path_simplify_alloc’ at ../src/basic/path-util.h:104:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:89:16: note: (80) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:397:13: note: (81) returning to ‘unit_name_path_escape’ from ‘path_simplify_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:398:12: note: (82) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:401:13: note: (83) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:401:12: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:404:22: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:404:20: note: (86) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:408:17: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:409:38: note: (88) inlined call to ‘skip_leading_chars’ from ‘unit_name_path_escape’ <--[csmock-gcc-wrapper]
In function ‘skip_leading_chars’,
inlined from ‘unit_name_path_escape’ at ../src/basic/unit-name.c:409:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:137:12: note: (89) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:143:28: note: (90) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:409:21: note: (91) calling ‘unit_name_escape’ from ‘unit_name_path_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:334:7: note: (92) entry to ‘unit_name_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (93) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:339:23: note: (94) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (95) calling ‘malloc_multiply’ from ‘unit_name_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (96) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (97) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:9: note: (98) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h: In function ‘unit_name_path_escape’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:28: note: (99) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (100) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (101) returning to ‘unit_name_escape’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:340:12: note: (102) assuming ‘malloc_multiply (strlen (f_9(D)) * 4 + 1, 1)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:340:12: note: (103) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:343:13: note: (104) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:343:13: note: (105) calling ‘do_escape’ from ‘unit_name_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:312:14: note: (106) entry to ‘do_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (107) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (108) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (109) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:317:13: note: (110) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:317:12: note: (111) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (112) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:322:16: note: (113) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:331:16: note: (114) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:343:13: note: (115) returning to ‘unit_name_escape’ from ‘do_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/unit-name.c:409:21: note: (116) returning to ‘unit_name_path_escape’ from ‘unit_name_escape’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (117) ‘unit_name_escape (_34)’ leaks here; was allocated at (100) <--[csmock-gcc-wrapper]
[148/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-container.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-container.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-container.c.o -c ../src/libsystemd/sd-bus/bus-container.c
[149/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-control.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-control.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-control.c.o -c ../src/libsystemd/sd-bus/bus-control.c
[150/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-convenience.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-convenience.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-convenience.c.o -c ../src/libsystemd/sd-bus/bus-convenience.c
[151/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-dump.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-dump.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-dump.c.o -c ../src/libsystemd/sd-bus/bus-dump.c
[152/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-error.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-error.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-error.c.o -c ../src/libsystemd/sd-bus/bus-error.c
[153/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-internal.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-internal.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-internal.c.o -c ../src/libsystemd/sd-bus/bus-internal.c
[154/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-creds.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-creds.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-creds.c.o -c ../src/libsystemd/sd-bus/bus-creds.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c: In function ‘bus_creds_add_more’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: warning: leak of FILE ‘*fopen64 (_r__197, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:798:5: note: (1) entry to ‘bus_creds_add_more’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:804:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:806:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:806:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:810:13: note: (7) inlined call to ‘pidref_is_set’ from ‘bus_creds_add_more’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:8: <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘bus_creds_add_more’ at ../src/libsystemd/sd-bus/bus-creds.c:810:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c: In function ‘bus_creds_add_more’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:839:12: note: (9) following ‘false’ branch (when ‘missing_263 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:842:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:855:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:20: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:22:23: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: note: (13) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: note: (14) ‘*fopen64 (_r__197, "re")’ leaks here; was opened at (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: warning: leak of ‘*fopen64 (_r__197, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:798:5: note: (1) entry to ‘bus_creds_add_more’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:804:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:806:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:806:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:810:13: note: (7) inlined call to ‘pidref_is_set’ from ‘bus_creds_add_more’ <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘bus_creds_add_more’ at ../src/libsystemd/sd-bus/bus-creds.c:810:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c: In function ‘bus_creds_add_more’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:839:12: note: (9) following ‘false’ branch (when ‘missing_263 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:842:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:855:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:22:23: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-creds.c:867:21: note: (14) ‘*fopen64 (_r__197, "re")’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper]
[155/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-kernel.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-kernel.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-kernel.c.o -c ../src/libsystemd/sd-bus/bus-kernel.c
[156/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-introspect.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-introspect.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-introspect.c.o -c ../src/libsystemd/sd-bus/bus-introspect.c
[157/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-type.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-type.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-type.c.o -c ../src/libsystemd/sd-bus/bus-type.c
[158/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-signature.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-signature.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-signature.c.o -c ../src/libsystemd/sd-bus/bus-signature.c
[159/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-slot.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-slot.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-slot.c.o -c ../src/libsystemd/sd-bus/bus-slot.c
[160/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_device-filter.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_device-filter.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_device-filter.c.o -c ../src/libsystemd/sd-device/device-filter.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c: In function ‘update_match_strv’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:56:20: warning: leak of ‘strdup (key_24(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:15:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:16:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:44:44: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:47:29: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:48:20: note: (8) assuming ‘strdup (key_24(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:48:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:97:23: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:52:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:135:48: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-filter.c:56:20: note: (13) ‘strdup (key_24(D))’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
[161/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-match.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-match.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-match.c.o -c ../src/libsystemd/sd-bus/bus-match.c
[162/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-socket.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-socket.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-socket.c.o -c ../src/libsystemd/sd-bus/bus-socket.c
[163/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-track.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-track.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-track.c.o -c ../src/libsystemd/sd-bus/bus-track.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-match.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-internal.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c: In function ‘track_item_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:75: warning: leak of ‘malloc (24)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:328:14: note: (1) entry to ‘sd_bus_track_add_sender’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:334:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:334:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:337:18: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:338:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:341:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:341:16: note: (10) calling ‘sd_bus_track_add_name’ from ‘sd_bus_track_add_sender’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:181:14: note: (11) entry to ‘sd_bus_track_add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:188:23: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:190:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:191:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:134:42: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:210:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (19) inlined call to ‘malloc_multiply’ from ‘sd_bus_track_add_name’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘sd_bus_track_add_name’ at ../src/libsystemd/sd-bus/bus-track.c:213:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (21) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c: In function ‘track_item_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:214:12: note: (22) assuming ‘malloc (24)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:214:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:217:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:222:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:61: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:120:34: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:226:17: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:61: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:123:31: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:228:9: note: (33) calling ‘bus_track_remove_from_queue’ from ‘sd_bus_track_add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:87:13: note: (34) entry to ‘bus_track_remove_from_queue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:90:19: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:90:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (38) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:228:9: note: (39) returning to ‘sd_bus_track_add_name’ from ‘bus_track_remove_from_queue’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:182:57: note: (40) inlined call to ‘track_item_unrefp’ from ‘sd_bus_track_add_name’ <--[csmock-gcc-wrapper]
In function ‘track_item_unrefp’,
inlined from ‘sd_bus_track_add_name’ at ../src/libsystemd/sd-bus/bus-track.c:182:57:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:52:49: note: (41) calling ‘track_item_unref’ from ‘sd_bus_track_add_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c: In function ‘track_item_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-track.c:51:54: note: (42) entry to ‘track_item_unref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:297:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:301:25: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:302:20: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:75: note: (47) ‘malloc (24)’ leaks here; was allocated at (21) <--[csmock-gcc-wrapper]
[164/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_device-enumerator.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_device-enumerator.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_device-enumerator.c.o -c ../src/libsystemd/sd-device/device-enumerator.c
[165/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_device-util.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_device-util.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_device-util.c.o -c ../src/libsystemd/sd-device/device-util.c
[166/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-hwdb_sd-hwdb.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-hwdb_sd-hwdb.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-hwdb_sd-hwdb.c.o -c ../src/libsystemd/sd-hwdb/sd-hwdb.c
[167/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_device-monitor.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_device-monitor.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_device-monitor.c.o -c ../src/libsystemd/sd-device/device-monitor.c
[168/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-genl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-genl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-genl.c.o -c ../src/libsystemd/sd-netlink/netlink-genl.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c: In function ‘genl_family_new’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:129:17: warning: use of uninitialized value ‘cmd’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:451:5: note: (1) entry to ‘sd_genl_add_match’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:467:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:474:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:474:13: note: (12) calling ‘genl_family_get_by_name’ from ‘sd_genl_add_match’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:286:12: note: (13) entry to ‘genl_family_get_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:291:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:295:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:296:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/ordered-set.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-internal.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:304:12: note: (24) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:305:24: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:305:24: note: (26) calling ‘genl_family_get_by_name_internal’ from ‘genl_family_get_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:250:12: note: (27) entry to ‘genl_family_get_by_name_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:261:18: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:266:22: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:267:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:270:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:270:13: note: (40) calling ‘genl_message_new’ from ‘genl_family_get_by_name_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:217:12: note: (41) entry to ‘genl_message_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:228:18: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:232:22: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:232:22: note: (50) calling ‘genl_family_get_policy_set’ from ‘genl_message_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:208:28: note: (51) entry to ‘genl_family_get_policy_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:211:19: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:232:22: note: (54) returning to ‘genl_message_new’ from ‘genl_family_get_policy_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:233:12: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:237:64: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:238:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/linux/genetlink.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:241:44: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:223:66: note: (59) inlined call to ‘sd_netlink_message_unrefp’ from ‘genl_message_new’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-event.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-netlink.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:5: <--[csmock-gcc-wrapper]
In function ‘sd_netlink_message_unrefp’,
inlined from ‘genl_message_new’ at ../src/libsystemd/sd-netlink/netlink-genl.c:223:66:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/_sd-common.h:97:20: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘genl_family_new’:
cc1: note: (61) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:270:13: note: (62) returning to ‘genl_family_get_by_name_internal’ from ‘genl_message_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:271:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:274:13: note: (64) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:275:12: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:278:13: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:278:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:283:16: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:283:16: note: (69) calling ‘genl_family_new’ from ‘genl_family_get_by_name_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:92:12: note: (70) entry to ‘genl_family_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:101:17: note: (71) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:101:17: note: (72) capacity: 1 byte <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (74) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (75) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (77) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (78) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (79) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (80) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (81) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (82) inlined call to ‘malloc_multiply’ from ‘genl_family_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘genl_family_new’ at ../src/libsystemd/sd-netlink/netlink-genl.c:110:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (83) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c: In function ‘genl_family_new’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:111:12: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:114:12: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:118:13: note: (86) calling ‘sd_genl_message_get_family_name’ from ‘genl_family_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:384:5: note: (87) entry to ‘sd_genl_message_get_family_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (88) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:390:25: note: (89) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (90) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (91) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (92) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (93) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (94) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:394:13: note: (95) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:395:12: note: (96) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:398:13: note: (97) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:398:13: note: (98) calling ‘genl_family_get_by_id’ from ‘sd_genl_message_get_family_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:317:12: note: (99) entry to ‘genl_family_get_by_id’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (100) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:321:18: note: (101) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (102) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (103) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (104) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:194:35: note: (105) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:398:13: note: (106) returning to ‘sd_genl_message_get_family_name’ from ‘genl_family_get_by_id’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:399:12: note: (107) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:402:22: note: (108) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:118:13: note: (109) returning to ‘genl_family_new’ from ‘sd_genl_message_get_family_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:119:12: note: (110) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (111) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:122:12: note: (112) following ‘false’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:125:13: note: (113) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:125:13: note: (114) calling ‘sd_genl_message_get_command’ from ‘genl_family_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:406:5: note: (115) entry to ‘sd_genl_message_get_command’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (116) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:413:25: note: (117) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (118) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:415:24: note: (119) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (120) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:419:13: note: (121) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:125:13: note: (122) returning to ‘genl_family_new’ from ‘sd_genl_message_get_command’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:126:12: note: (123) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:129:17: note: (124) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-genl.c:129:17: note: (125) use of uninitialized value ‘cmd’ here <--[csmock-gcc-wrapper]
[169/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-nfnl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-nfnl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-nfnl.c.o -c ../src/libsystemd/sd-netlink/netlink-message-nfnl.c
[170/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_device-private.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_device-private.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_device-private.c.o -c ../src/libsystemd/sd-device/device-private.c
[171/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-objects.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-objects.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-objects.c.o -c ../src/libsystemd/sd-bus/bus-objects.c
[172/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-rtnl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-rtnl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-rtnl.c.o -c ../src/libsystemd/sd-netlink/netlink-message-rtnl.c
[173/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-nfnl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-nfnl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-nfnl.c.o -c ../src/libsystemd/sd-netlink/netlink-types-nfnl.c
[174/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-genl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-genl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-genl.c.o -c ../src/libsystemd/sd-netlink/netlink-types-genl.c
[175/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-slot.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-slot.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-slot.c.o -c ../src/libsystemd/sd-netlink/netlink-slot.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:7: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘netlink_slot_allocate’ at ../src/libsystemd/sd-netlink/netlink-slot.c:21:41:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c: In function ‘netlink_slot_allocate’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:26:66: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:27:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:30:21: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:36:12: note: (7) following ‘true’ branch (when ‘description_31(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:37:37: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:37:37: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:38:20: note: (10) assuming ‘<unknown>’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:38:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:42:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:42:12: note: (13) following ‘false’ branch (when ‘floating_29(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:43:17: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-slot.c:21:41: note: (15) inlined call to ‘freep’ from ‘netlink_slot_allocate’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘netlink_slot_allocate’ at ../src/libsystemd/sd-netlink/netlink-slot.c:21:41:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (16) ‘<unknown>’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[176/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-rtnl.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-rtnl.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-rtnl.c.o -c ../src/libsystemd/sd-netlink/netlink-types-rtnl.c
[177/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types.c.o -c ../src/libsystemd/sd-netlink/netlink-types.c
[178/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-socket.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-socket.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-socket.c.o -c ../src/libsystemd/sd-netlink/netlink-socket.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c: In function ‘socket_read_message’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:408:21: warning: use of uninitialized value ‘group’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:376:5: note: (1) entry to ‘socket_read_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:378:18: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:378:18: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:385:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:385:13: note: (6) calling ‘socket_recv_message’ from ‘socket_read_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:183:12: note: (7) entry to ‘socket_recv_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:198:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:200:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:385:13: note: (12) returning to ‘socket_read_message’ from ‘socket_recv_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:386:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:388:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:391:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:395:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:395:13: note: (17) calling ‘malloc_sizeof_safe’ from ‘socket_read_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:199:22: note: (18) entry to ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:203:21: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:395:13: note: (21) returning to ‘socket_read_message’ from ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:395:13: note: (22) calling ‘socket_recv_message’ from ‘socket_read_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:183:12: note: (23) entry to ‘socket_recv_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:198:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:198:25: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:200:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:201:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:203:18: note: (31) inlined call to ‘ERRNO_IS_NEG_TRANSIENT’ from ‘socket_recv_message’ <--[csmock-gcc-wrapper]
In function ‘ERRNO_IS_NEG_TRANSIENT’,
inlined from ‘socket_recv_message’ at ../src/libsystemd/sd-netlink/netlink-socket.c:203:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (33) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c: In function ‘socket_read_message’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:207:19: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:207:19: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:208:24: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:395:13: note: (37) returning to ‘socket_read_message’ from ‘socket_recv_message’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:396:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:398:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:400:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (41) ...to here
In file included from /usr/include/linux/neighbour.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-netlink.h:25, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:405:50: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:406:74: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-socket.c:408:21: note: (44) use of uninitialized value ‘group’ here <--[csmock-gcc-wrapper]
[179/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-network_network-util.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-network_network-util.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-network_network-util.c.o -c ../src/libsystemd/sd-network/network-util.c
[180/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-util.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-util.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-util.c.o -c ../src/libsystemd/sd-netlink/netlink-util.c
[181/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message.c.o -c ../src/libsystemd/sd-netlink/netlink-message.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c: In function ‘sd_netlink_message_append_string’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:242:13: warning: use of uninitialized value ‘size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:632:5: note: (1) entry to ‘sd_netlink_message_open_container_union’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:637:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:638:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:640:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:640:13: note: (8) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_open_container_union’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (9) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:225:12: note: (12) following ‘false’ branch (when ‘ret_size_18(D)’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:640:13: note: (14) returning to ‘sd_netlink_message_open_container_union’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:641:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:645:40: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:647:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:650:24: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:654:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:657:49: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:657:13: note: (21) calling ‘sd_netlink_message_append_string’ from ‘sd_netlink_message_open_container_union’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:230:5: note: (22) entry to ‘sd_netlink_message_append_string’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:231:24: note: (23) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:231:24: note: (24) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:235:25: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:238:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:238:13: note: (31) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_append_string’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (32) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:238:13: note: (35) returning to ‘sd_netlink_message_append_string’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:239:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:242:13: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:242:13: note: (38) use of uninitialized value ‘size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c: In function ‘sd_netlink_message_open_container’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: warning: use of uninitialized value ‘size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:583:5: note: (1) entry to ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:584:16: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:584:16: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:588:25: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:590:24: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (10) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (11) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (14) returning to ‘sd_netlink_message_open_container’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:597:21: note: (15) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (16) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:597:21: note: (19) returning to ‘sd_netlink_message_open_container’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:598:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:601:21: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:602:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:606:48: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:608:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:612:25: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:620:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: note: (28) use of uninitialized value ‘size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: warning: use of uninitialized value ‘size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:451:5: note: (1) entry to ‘sd_netlink_message_append_container_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:461:25: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:463:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:463:13: note: (6) calling ‘sd_netlink_message_open_container’ from ‘sd_netlink_message_append_container_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:583:5: note: (7) entry to ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:584:16: note: (8) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:584:16: note: (9) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:588:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:590:24: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (16) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (17) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:592:13: note: (20) returning to ‘sd_netlink_message_open_container’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:597:21: note: (21) calling ‘message_attribute_has_type’ from ‘sd_netlink_message_open_container’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:213:12: note: (22) entry to ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:218:18: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:597:21: note: (25) returning to ‘sd_netlink_message_open_container’ from ‘message_attribute_has_type’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:598:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:601:21: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:602:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:606:48: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:608:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:612:25: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:620:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/netlink-message.c:623:13: note: (34) use of uninitialized value ‘size’ here <--[csmock-gcc-wrapper]
[182/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-netlink_sd-netlink.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-netlink_sd-netlink.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-netlink_sd-netlink.c.o -c ../src/libsystemd/sd-netlink/sd-netlink.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c: In function ‘sd_netlink_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:300:25: warning: use of uninitialized value ‘p_7(D)->n_ref’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:23:12: note: (1) entry to ‘netlink_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (3) inlined call to ‘malloc_multiply’ from ‘netlink_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘netlink_new’ at ../src/libsystemd/sd-netlink/sd-netlink.c:28:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (5) region created on heap here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c: In function ‘sd_netlink_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:29:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:61:39: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:24:50: note: (8) inlined call to ‘sd_netlink_unrefp’ from ‘netlink_new’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-event.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-netlink.h:28, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:5: <--[csmock-gcc-wrapper]
In function ‘sd_netlink_unrefp’,
inlined from ‘netlink_new’ at ../src/libsystemd/sd-netlink/sd-netlink.c:24:50:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-netlink.h:246:45: note: (9) calling ‘sd_netlink_unref’ from ‘netlink_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c: In function ‘sd_netlink_unref’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-netlink/sd-netlink.c:146:43: note: (10) entry to ‘sd_netlink_unref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:297:20: note: (11) following ‘false’ branch (when ‘p_7(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:300:25: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:300:25: note: (13) use of uninitialized value ‘p_7(D)->n_ref’ here <--[csmock-gcc-wrapper]
[183/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_audit-type.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_audit-type.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_audit-type.c.o -c ../src/libsystemd/sd-journal/audit-type.c
[184/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-network_sd-network.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-network_sd-network.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-network_sd-network.c.o -c ../src/libsystemd/sd-network/sd-network.c
[185/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-path_sd-path.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-path_sd-path.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-path_sd-path.c.o -c ../src/libsystemd/sd-path/sd-path.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c: In function ‘from_user_dir’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: warning: leak of FILE ‘*fopen64 (path_extend_internal (0B, c, "user-dirs.dirs", -1B), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:652:14: note: (1) entry to ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (4) calling ‘get_search’ from ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:519:12: note: (5) entry to ‘get_search’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:524:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (8) returning to ‘sd_path_lookup_strv’ from ‘get_search’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:659:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:660:38: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:662:21: note: (11) calling ‘get_path_alloc’ from ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:393:12: note: (12) entry to ‘get_path_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:401:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:401:13: note: (15) calling ‘get_path’ from ‘get_path_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:187:12: note: (16) entry to ‘get_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:193:9: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:193:9: note: (21) following ‘case 24:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:289:9: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:290:24: note: (23) calling ‘from_user_dir’ from ‘get_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:68:12: note: (24) entry to ‘from_user_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (31) calling ‘from_home_dir’ from ‘from_user_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:38:12: note: (32) entry to ‘from_home_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:46:12: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:46:12: note: (39) following ‘true’ branch (when ‘envname_21(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:49:21: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:20: note: (41) following ‘true’ branch (when ‘e_23’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:26: note: (42) inlined call to ‘path_is_absolute’ from ‘from_home_dir’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:12: <--[csmock-gcc-wrapper]
In function ‘path_is_absolute’,
inlined from ‘from_home_dir’ at ../src/libsystemd/sd-path/sd-path.c:50:26:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:46:17: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c: In function ‘from_user_dir’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:23: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:51:30: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (46) returning to ‘from_user_dir’ from ‘from_home_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:80:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:84:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (51) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (52) ‘*fopen64 (path_extend_internal (0B, c, "user-dirs.dirs", -1B), "re")’ leaks here; was opened at (51) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: warning: leak of ‘*fopen64 (path_extend_internal (0B, c, "user-dirs.dirs", -1B), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:652:14: note: (1) entry to ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (4) calling ‘get_search’ from ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:519:12: note: (5) entry to ‘get_search’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:524:9: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:658:13: note: (8) returning to ‘sd_path_lookup_strv’ from ‘get_search’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:659:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:660:38: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:662:21: note: (11) calling ‘get_path_alloc’ from ‘sd_path_lookup_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:393:12: note: (12) entry to ‘get_path_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:401:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:401:13: note: (15) calling ‘get_path’ from ‘get_path_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:187:12: note: (16) entry to ‘get_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:193:9: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:193:9: note: (21) following ‘case 24:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:289:9: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:290:24: note: (23) calling ‘from_user_dir’ from ‘get_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:68:12: note: (24) entry to ‘from_user_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (31) calling ‘from_home_dir’ from ‘from_user_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:38:12: note: (32) entry to ‘from_home_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:46:12: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:46:12: note: (39) following ‘true’ branch (when ‘envname_21(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:49:21: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:20: note: (41) following ‘true’ branch (when ‘e_23’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:26: note: (42) inlined call to ‘path_is_absolute’ from ‘from_home_dir’ <--[csmock-gcc-wrapper]
In function ‘path_is_absolute’,
inlined from ‘from_home_dir’ at ../src/libsystemd/sd-path/sd-path.c:50:26:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:46:17: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c: In function ‘from_user_dir’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:50:23: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:51:30: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:79:13: note: (46) returning to ‘from_user_dir’ from ‘from_home_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:80:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:84:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (51) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-path/sd-path.c:87:13: note: (52) ‘*fopen64 (path_extend_internal (0B, c, "user-dirs.dirs", -1B), "re")’ leaks here; was allocated at (51) <--[csmock-gcc-wrapper]
[186/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_journal-send.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_journal-send.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-send.c.o -c ../src/libsystemd/sd-journal/journal-send.c
[187/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-resolve_sd-resolve.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-resolve_sd-resolve.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-resolve_sd-resolve.c.o -c ../src/libsystemd/sd-resolve/sd-resolve.c
[188/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_journal-vacuum.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_journal-vacuum.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-vacuum.c.o -c ../src/libsystemd/sd-journal/journal-vacuum.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c: In function ‘journal_directory_vacuum’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:153:13: warning: leak of ‘opendir (directory_154(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:147:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:150:12: note: (3) following ‘false’ branch (when ‘max_retention_usec_156(D) == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (4) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:153:13: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-vacuum.c:153:13: note: (6) ‘opendir (directory_154(D))’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
[189/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_lookup3.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_lookup3.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_lookup3.c.o -c ../src/libsystemd/sd-journal/lookup3.c
[190/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_mmap-cache.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_mmap-cache.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_mmap-cache.c.o -c ../src/libsystemd/sd-journal/mmap-cache.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c: In function ‘window_unlink’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: warning: use after ‘free’ of ‘w_45(D)’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:275:12: note: (1) entry to ‘add_mmap’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:20:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:20:32: note: (8) calling ‘ALIGN_OFFSET_U64’ from ‘add_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:437:24: note: (9) entry to ‘ALIGN_OFFSET_U64’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:241:18: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:440:18: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:20:32: note: (12) returning to ‘add_mmap’ from ‘ALIGN_OFFSET_U64’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:291:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:15:32: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:15:32: note: (15) calling ‘ALIGN_TO’ from ‘add_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:401:22: note: (16) entry to ‘ALIGN_TO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:241:18: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:404:26: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:15:32: note: (19) returning to ‘add_mmap’ from ‘ALIGN_TO’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:18:32: note: (20) calling ‘ALIGN_DOWN_U64’ from ‘add_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:425:24: note: (21) entry to ‘ALIGN_DOWN_U64’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:241:18: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:428:20: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:18:32: note: (24) returning to ‘add_mmap’ from ‘ALIGN_DOWN_U64’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:316:12: note: (25) following ‘false’ branch (when ‘size_21 != 18446744073709551615’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:319:13: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:319:13: note: (27) calling ‘mmap_try_harder’ from ‘add_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:250:12: note: (28) entry to ‘mmap_try_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:251:24: note: (29) calling ‘mmap_cache_fd_cache’ from ‘mmap_try_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:559:12: note: (30) entry to ‘mmap_cache_fd_cache’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:125:10: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:251:24: note: (35) returning to ‘mmap_try_harder’ from ‘mmap_cache_fd_cache’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (37) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:259:20: note: (38) following ‘false’ branch (when ‘ptr_23 == -1B’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:263:21: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:263:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:268:23: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:268:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (43) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:271:17: note: (44) inlined call to ‘window_free’ from ‘mmap_try_harder’ <--[csmock-gcc-wrapper]
In function ‘window_free’,
inlined from ‘mmap_try_harder’ at ../src/libsystemd/sd-journal/mmap-cache.c:271:17:
cc1: note: (45) calling ‘window_free.part.0’ from ‘mmap_try_harder’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c: In function ‘window_unlink’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:129:16: note: (46) entry to ‘window_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:133:9: note: (47) calling ‘window_unlink’ from ‘window_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:94:16: note: (48) entry to ‘window_unlink’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: note: (51) calling ‘mmap_cache_fd_cache’ from ‘window_unlink’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:559:12: note: (52) entry to ‘mmap_cache_fd_cache’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:125:10: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: note: (57) returning to ‘window_unlink’ from ‘mmap_cache_fd_cache’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:108:32: note: (58) following ‘true’ branch (when ‘i_37 != 10’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:109:32: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:133:9: note: (60) returning to ‘window_free.part.0’ from ‘window_unlink’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (61) freed here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:271:17: note: (62) inlined call to ‘window_free’ from ‘mmap_try_harder’ <--[csmock-gcc-wrapper]
In function ‘window_free’,
inlined from ‘mmap_try_harder’ at ../src/libsystemd/sd-journal/mmap-cache.c:271:17:
cc1: note: (63) returning to ‘mmap_try_harder’ from ‘window_free.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c: In function ‘window_unlink’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:259:20: note: (64) following ‘false’ branch (when ‘ptr_23 == -1B’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:263:21: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:263:20: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:268:23: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:268:20: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (69) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:271:17: note: (70) inlined call to ‘window_free’ from ‘mmap_try_harder’ <--[csmock-gcc-wrapper]
In function ‘window_free’,
inlined from ‘mmap_try_harder’ at ../src/libsystemd/sd-journal/mmap-cache.c:271:17:
cc1: note: (71) calling ‘window_free.part.0’ from ‘mmap_try_harder’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c: In function ‘window_unlink’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:129:16: note: (72) entry to ‘window_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:133:9: note: (73) calling ‘window_unlink’ from ‘window_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:94:16: note: (74) entry to ‘window_unlink’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (75) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/mmap-cache.c:97:24: note: (77) use after ‘free’ of ‘w_45(D)’; freed at (61) <--[csmock-gcc-wrapper]
[191/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_catalog.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_catalog.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_catalog.c.o -c ../src/libsystemd/sd-journal/catalog.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:14: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_import_file’ at ../src/libsystemd/sd-journal/catalog.c:252:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:106:20: warning: leak of ‘deflang’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_import_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:419:5: note: (1) entry to ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:433:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:436:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:437:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:15: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:442:21: note: (8) calling ‘catalog_import_file’ from ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:246:5: note: (9) entry to ‘catalog_import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:260:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:263:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:263:13: note: (16) calling ‘catalog_file_lang’ from ‘catalog_import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:197:5: note: (17) entry to ‘catalog_file_lang’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:201:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:204:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:208:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:211:38: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:211:17: note: (22) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:212:12: note: (23) assuming ‘_lang_19’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:212:12: note: (24) following ‘false’ branch (when ‘_lang_19’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:215:15: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:263:13: note: (26) returning to ‘catalog_import_file’ from ‘catalog_file_lang’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:252:30: note: (27) inlined call to ‘freep’ from ‘catalog_import_file’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_import_file’ at ../src/libsystemd/sd-journal/catalog.c:252:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:106:20: note: (28) ‘deflang’ leaks here; was allocated at (22) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&msg]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_list_items’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:677:5: note: (1) entry to ‘catalog_list_items’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:681:28: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:688:28: note: (4) following ‘true’ branch (when ‘r_10 == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:683:38: note: (6) inlined call to ‘freep’ from ‘catalog_list_items’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (7) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_list_items’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:681:28: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:683:38: note: (10) inlined call to ‘freep’ from ‘catalog_list_items’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (11) second ‘free’ here; first ‘free’ was at (7) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&msg]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_list_items’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:677:5: note: (1) entry to ‘catalog_list_items’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:681:28: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:688:28: note: (4) following ‘true’ branch (when ‘r_10 == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:683:38: note: (6) inlined call to ‘freep’ from ‘catalog_list_items’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (7) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_list_items’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:681:28: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:686:20: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:683:38: note: (12) inlined call to ‘freep’ from ‘catalog_list_items’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘catalog_list_items’ at ../src/libsystemd/sd-journal/catalog.c:683:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (13) second ‘free’ here; first ‘free’ was at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_import_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: warning: leak of FILE ‘*fopen64 (path_84(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:419:5: note: (1) entry to ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:433:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:436:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:437:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:442:21: note: (8) calling ‘catalog_import_file’ from ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:246:5: note: (9) entry to ‘catalog_import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (14) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (15) ‘*fopen64 (path_84(D), "re")’ leaks here; was opened at (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: warning: leak of ‘*fopen64 (path_84(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:419:5: note: (1) entry to ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:433:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:436:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:437:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:442:21: note: (8) calling ‘catalog_import_file’ from ‘catalog_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:246:5: note: (9) entry to ‘catalog_import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (14) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:259:13: note: (15) ‘*fopen64 (path_84(D), "re")’ leaks here; was allocated at (14) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘open_mmap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: warning: leak of file descriptor ‘*open64 (database_39(D), 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (8) ‘*open64 (database_39(D), 524288)’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘find_id’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:547:46: warning: dereference of NULL ‘p_25(D)’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:583:5: note: (1) entry to ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:585:15: note: (2) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (5) calling ‘open_mmap’ from ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:486:12: note: (6) entry to ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (13) returning to ‘catalog_get’ from ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:593:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (16) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (17) calling ‘find_id’ from ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:528:20: note: (18) entry to ‘find_id’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:534:14: note: (19) inlined call to ‘isempty’ from ‘find_id’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘find_id’ at ../src/libsystemd/sd-journal/catalog.c:534:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:24: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘find_id’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:534:27: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:537:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:538:20: note: (24) following ‘false’ branch (when ‘len_35 <= 31’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:541:25: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:541:25: note: (26) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:547:46: note: (27) dereference of NULL ‘p_25(D)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:570:38: warning: dereference of NULL ‘p_25(D)’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:583:5: note: (1) entry to ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:585:15: note: (2) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (5) calling ‘open_mmap’ from ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:486:12: note: (6) entry to ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:592:13: note: (13) returning to ‘catalog_get’ from ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:593:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (16) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:596:13: note: (17) calling ‘find_id’ from ‘catalog_get’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:528:20: note: (18) entry to ‘find_id’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:570:38: note: (19) dereference of NULL ‘p_25(D)’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘dump_catalog_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:614:21: warning: leak of ‘find_header (s_40(D), "Subject:")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:625:13: note: (1) entry to ‘dump_catalog_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:626:12: note: (2) following ‘true’ branch (when ‘oneline_37(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:629:27: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:629:27: note: (4) calling ‘find_header’ from ‘dump_catalog_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:609:14: note: (5) entry to ‘find_header’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:617:32: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:629:27: note: (7) returning to ‘dump_catalog_entry’ from ‘find_header’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:614:21: note: (8) ‘find_header (s_40(D), "Subject:")’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:614:21: warning: leak of ‘find_header (s_40(D), "Defined-By:")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:625:13: note: (1) entry to ‘dump_catalog_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:626:12: note: (2) following ‘true’ branch (when ‘oneline_37(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:629:27: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:630:30: note: (4) calling ‘find_header’ from ‘dump_catalog_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:609:14: note: (5) entry to ‘find_header’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:617:32: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:630:30: note: (7) returning to ‘dump_catalog_entry’ from ‘find_header’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:614:21: note: (8) ‘find_header (s_40(D), "Defined-By:")’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c: In function ‘catalog_list’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:656:69: warning: dereference of NULL ‘h_29’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:640:5: note: (1) entry to ‘catalog_list’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:642:15: note: (2) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:651:13: note: (3) calling ‘open_mmap’ from ‘catalog_list’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:486:12: note: (4) entry to ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:496:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:651:13: note: (11) returning to ‘catalog_list’ from ‘open_mmap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:652:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:655:11: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:655:11: note: (14) ‘p’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.c:656:69: note: (15) dereference of NULL ‘h_29’ <--[csmock-gcc-wrapper]
[192/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-id128_id128-util.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-id128_id128-util.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-id128_id128-util.c.o -c ../src/libsystemd/sd-id128/id128-util.c
[193/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-id128_sd-id128.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-id128_sd-id128.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-id128_sd-id128.c.o -c ../src/libsystemd/sd-id128/sd-id128.c
[194/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_bus-message.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_bus-message.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-message.c.o -c ../src/libsystemd/sd-bus/bus-message.c
[195/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-event_event-util.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-event_event-util.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-event_event-util.c.o -c ../src/libsystemd/sd-event/event-util.c
[196/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_journal-verify.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_journal-verify.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-verify.c.o -c ../src/libsystemd/sd-journal/journal-verify.c
[197/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-daemon_sd-daemon.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-daemon_sd-daemon.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-daemon_sd-daemon.c.o -c ../src/libsystemd/sd-daemon/sd-daemon.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c: In function ‘pid_notify_with_fds_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:544:42: warning: dereference of NULL ‘cmsg_99’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:706:14: note: (1) entry to ‘sd_pid_notifyf_with_fds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:719:12: note: (2) following ‘false’ branch (when ‘n_fds_12(D) <= 4294967295’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:722:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:722:17: note: (4) following ‘true’ branch (when ‘format_13(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:723:25: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:729:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:736:13: note: (8) calling ‘sd_pid_notify_with_fds’ from ‘sd_pid_notifyf_with_fds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:611:14: note: (9) entry to ‘sd_pid_notify_with_fds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:620:13: note: (10) calling ‘pid_notify_with_fds_internal’ from ‘sd_pid_notify_with_fds’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:454:12: note: (11) entry to ‘pid_notify_with_fds_internal’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:471:23: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:473:25: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:474:12: note: (16) following ‘false’ branch (when ‘e_155’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:478:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:481:12: note: (18) following ‘false’ branch (when ‘r_88 >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:483:37: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:494:14: note: (20) when ‘socket’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:495:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:509:32: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (23) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:523:16: note: (24) inlined call to ‘fd_inc_sndbuf’ from ‘pid_notify_with_fds_internal’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:26: <--[csmock-gcc-wrapper]
In function ‘fd_inc_sndbuf’,
inlined from ‘pid_notify_with_fds_internal’ at ../src/libsystemd/sd-daemon/sd-daemon.c:523:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/socket-util.h:129:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c: In function ‘pid_notify_with_fds_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:528:54: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (27) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:532:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:537:70: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:538:72: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:537:75: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:540:38: note: (33) ...to here <--[csmock-gcc-wrapper]
In file included from /usr/include/sys/socket.h:33, <--[csmock-gcc-wrapper]
from /usr/include/netinet/in.h:23, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:542:24: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:543:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:543:20: note: (36) following ‘true’ branch (when ‘n_fds_152(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:544:42: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-daemon/sd-daemon.c:544:42: note: (38) dereference of NULL ‘cmsg_99’ <--[csmock-gcc-wrapper]
[198/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-login_sd-login.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-login_sd-login.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-login_sd-login.c.o -c ../src/libsystemd/sd-login/sd-login.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:10: <--[csmock-gcc-wrapper]
In function ‘closedirp’,
inlined from ‘sd_get_uids’ at ../src/libsystemd/sd-login/sd-login.c:1050:33:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:62:40: warning: leak of ‘t_50’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c: In function ‘sd_get_uids’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1049:14: note: (1) entry to ‘sd_get_uids’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1056:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:19:36: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:20:20: note: (4) following ‘false’ branch (when ‘de_23’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1067:23: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1077:28: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1081:37: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1082:36: note: (9) assuming ‘t_50’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1082:36: note: (10) following ‘false’ branch (when ‘t_50’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1089:28: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:20:20: note: (14) following ‘false’ branch (when ‘de_23’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1067:23: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1076:20: note: (16) following ‘true’ branch (when ‘users_44(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1077:29: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1077:28: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1089:28: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:20:20: note: (22) following ‘false’ branch (when ‘de_23’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1067:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1069:20: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1072:33: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1073:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1076:20: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1076:20: note: (28) following ‘true’ branch (when ‘users_44(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1077:29: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1050:33: note: (30) inlined call to ‘closedirp’ from ‘sd_get_uids’ <--[csmock-gcc-wrapper]
In function ‘closedirp’,
inlined from ‘sd_get_uids’ at ../src/libsystemd/sd-login/sd-login.c:1050:33:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:502:20: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:62:40: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:62:40: note: (33) ‘t_50’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c: In function ‘sd_seat_get_sessions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:972:29: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:925:14: note: (1) entry to ‘sd_seat_get_sessions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:937:13: note: (2) calling ‘file_of_seat’ from ‘sd_seat_get_sessions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:535:12: note: (3) entry to ‘file_of_seat’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:541:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:541:12: note: (6) following ‘true’ branch (when ‘seat_11(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:542:22: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:542:20: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:555:12: note: (10) following ‘false’ branch (when ‘p_19’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:558:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:937:13: note: (12) returning to ‘sd_seat_get_sessions’ from ‘file_of_seat’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:938:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/env-file.h:13:39: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:944:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:946:12: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:946:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:949:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:949:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:957:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:957:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (23) calling ‘malloc_multiply’ from ‘sd_seat_get_sessions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (24) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (25) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:9: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h: In function ‘sd_seat_get_sessions’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:28: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (28) allocated 1 byte hereallocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (29) returning to ‘sd_seat_get_sessions’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:959:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:963:34: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:967:28: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:969:28: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:969:28: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:972:52: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:972:29: note: (36) assigned to ‘uid_t *’ here; ‘sizeof (uid_t)’ is ‘4’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c: In function ‘sd_get_uids’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1055:13: warning: leak of ‘opendir ("/run/systemd/users/")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1055:13: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-login/sd-login.c:1055:13: note: (2) ‘opendir ("/run/systemd/users/")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
[199/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/acpi-fpdt.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/acpi-fpdt.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/acpi-fpdt.c.o -c ../src/shared/acpi-fpdt.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c: In function ‘acpi_get_boot_usec’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:144:14: warning: leak of file descriptor ‘*open64 ("/dev/mem", 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:95:5: note: (1) entry to ‘acpi_get_boot_usec’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:108:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:111:13: note: (3) inlined call to ‘read_full_virtual_file’ from ‘acpi_get_boot_usec’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:89:16: note: (4) inlined call to ‘read_virtual_file’ from ‘read_full_virtual_file’ <--[csmock-gcc-wrapper]
In function ‘read_virtual_file’,
inlined from ‘read_full_virtual_file’ at ../src/basic/fileio.h:89:16,
inlined from ‘acpi_get_boot_usec’ at ../src/shared/acpi-fpdt.c:111:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:86:16: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c: In function ‘acpi_get_boot_usec’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:112:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:115:15: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:115:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:118:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:119:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:122:23: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:122:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:126:18: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:140:12: note: (14) following ‘false’ branch (when ‘ptr_30 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:144:14: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:144:14: note: (16) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acpi-fpdt.c:144:14: note: (17) ‘*open64 ("/dev/mem", 524288)’ leaks here; was opened at (16) <--[csmock-gcc-wrapper]
[200/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/apparmor-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/apparmor-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/apparmor-util.c.o -c ../src/shared/apparmor-util.c
[201/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/acl-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/acl-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/acl-util.c.o -c ../src/shared/acl-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c: In function ‘acls_for_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:426:21: warning: use of uninitialized value ‘j’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:417:29: note: (1) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:417:29: note: (2) capacity: 8 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:409:19: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:410:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:413:18: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:414:16: note: (7) following ‘true’ branch (when ‘r_18 > 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:417:29: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:420:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:423:27: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:423:27: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:426:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:426:21: note: (13) use of uninitialized value ‘j’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c: In function ‘fd_add_uid_acl_permission’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:476:13: warning: use of uninitialized value ‘entry’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:448:5: note: (1) entry to ‘fd_add_uid_acl_permission’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:455:21: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:455:21: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:462:16: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:464:15: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:465:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:468:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:468:13: note: (10) calling ‘acl_find_uid’ from ‘fd_add_uid_acl_permission’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:17:5: note: (11) entry to ‘acl_find_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:22:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:25:18: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:51:12: note: (18) following ‘true’ branch (when ‘r_23 != 0’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:52:25: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:468:13: note: (20) returning to ‘fd_add_uid_acl_permission’ from ‘acl_find_uid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:469:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:476:13: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/acl-util.c:476:13: note: (23) use of uninitialized value ‘entry’ here <--[csmock-gcc-wrapper]
[202/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/async.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/async.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/async.c.o -c ../src/shared/async.c
[203/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-bus_sd-bus.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-bus_sd-bus.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-bus_sd-bus.c.o -c ../src/libsystemd/sd-bus/sd-bus.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/sd-bus.c: internal warning: child 4212 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 4212 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[204/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/barrier.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/barrier.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/barrier.c.o -c ../src/shared/barrier.c
[205/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/base-filesystem.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/base-filesystem.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/base-filesystem.c.o -c ../src/shared/base-filesystem.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c: In function ‘base_filesystem_create_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:176:20: warning: use of uninitialized value ‘r_29’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:194:5: note: (1) entry to ‘base_filesystem_create’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:197:14: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:198:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:201:16: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:201:16: note: (6) calling ‘base_filesystem_create_fd’ from ‘base_filesystem_create’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:131:5: note: (7) entry to ‘base_filesystem_create_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:132:13: note: (8) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:132:13: note: (9) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:139:30: note: (14) following ‘true’ branch (when ‘i_32 != 12’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:140:43: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:139:30: note: (16) following ‘true’ branch (when ‘i_32 != 12’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:140:43: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:139:30: note: (18) following ‘true’ branch (when ‘i_32 != 12’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:140:43: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:143:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:21: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:24:53: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:24:37: note: (23) inlined call to ‘umaskp’ from ‘base_filesystem_create_fd’ <--[csmock-gcc-wrapper]
In function ‘umaskp’,
inlined from ‘base_filesystem_create_fd’ at ../src/shared/base-filesystem.c:173:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:11:9: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c: In function ‘base_filesystem_create_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:176:20: note: (25) use of uninitialized value ‘r_29’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c: In function ‘base_filesystem_create’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:197:14: warning: leak of file descriptor ‘*open64 (root_14(D), 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:197:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:197:14: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/base-filesystem.c:197:14: note: (4) ‘*open64 (root_14(D), 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
[206/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/battery-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/battery-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/battery-util.c.o -c ../src/shared/battery-util.c
[207/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/binfmt-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/binfmt-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/binfmt-util.c.o -c ../src/shared/binfmt-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/binfmt-util.c: In function ‘binfmt_mounted’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/binfmt-util.c:19:14: warning: leak of file descriptor ‘*open64 ("/proc/sys/fs/binfmt_misc", 2686976)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/binfmt-util.c:19:14: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/binfmt-util.c:19:14: note: (2) ‘*open64 ("/proc/sys/fs/binfmt_misc", 2686976)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
[208/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ask-password-api.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ask-password-api.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ask-password-api.c.o -c ../src/shared/ask-password-api.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c: In function ‘ask_password_tty’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:430:34: warning: leak of file descriptor ‘*open64 ("/dev/tty", 524546)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:985:5: note: (1) entry to ‘ask_password_auto’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:21: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:995:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1010:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1010:55: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1010:55: note: (6) when ‘isatty’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1010:52: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1011:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:1011:24: note: (9) calling ‘ask_password_tty’ from ‘ask_password_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:369:5: note: (10) entry to ‘ask_password_tty’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:394:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:397:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:400:66: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:400:66: note: (17) following ‘false’ branch (when ‘req_135(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:403:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:406:12: note: (19) following ‘false’ branch (when ‘flag_file_159(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:411:12: note: (21) following ‘false’ branch (when ‘flag_file_159(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:429:12: note: (23) following ‘true’ branch (when ‘ttyfd_168(D) < 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:430:34: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:430:34: note: (25) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ask-password-api.c:430:34: note: (26) ‘*open64 ("/dev/tty", 524546)’ leaks here; was opened at (25) <--[csmock-gcc-wrapper]
[209/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bitmap.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bitmap.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bitmap.c.o -c ../src/shared/bitmap.c
[210/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bond-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bond-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bond-util.c.o -c ../src/shared/bond-util.c
[211/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-timestamps.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-timestamps.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-timestamps.c.o -c ../src/shared/boot-timestamps.c
[212/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-dlopen.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-dlopen.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-dlopen.c.o -c ../src/shared/bpf-dlopen.c
[213/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-entry.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-entry.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/boot-entry.c.o -c ../src/shared/boot-entry.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c: In function ‘boot_entry_token_ensure’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:232:15: warning: leak of file descriptor ‘*open64 (_26, 2686976)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:217:5: note: (1) entry to ‘boot_entry_token_ensure’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:4: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:227:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:227:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:232:15: note: (5) inlined call to ‘empty_to_root’ from ‘boot_entry_token_ensure’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:218:16: note: (6) inlined call to ‘isempty’ from ‘empty_to_root’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘empty_to_root’ at ../src/basic/path-util.h:218:16,
inlined from ‘boot_entry_token_ensure’ at ../src/shared/boot-entry.c:232:15:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c: In function ‘boot_entry_token_ensure’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:232:15: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/boot-entry.c:232:15: note: (9) ‘*open64 (_26, 2686976)’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
[214/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bridge-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bridge-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bridge-util.c.o -c ../src/shared/bridge-util.c
[215/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-program.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-program.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-program.c.o -c ../src/shared/bpf-program.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c: In function ‘bpf_program_cgroup_attach’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:250:14: warning: leak of file descriptor ‘*open64 (path_31(D), 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:208:5: note: (1) entry to ‘bpf_program_cgroup_attach’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (8) following ‘true’ branch (when ‘flags_32(D) <= 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:223:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:242:13: note: (10) calling ‘bpf_program_load_kernel’ from ‘bpf_program_cgroup_attach’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:158:5: note: (11) entry to ‘bpf_program_load_kernel’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:163:14: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:163:12: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:17:47: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:17:47: note: (16) following ‘false’ branch (when ‘log_size_34(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:165:24: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:242:13: note: (18) returning to ‘bpf_program_cgroup_attach’ from ‘bpf_program_load_kernel’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:243:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:246:16: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:247:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:250:14: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:250:14: note: (23) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:250:14: note: (24) ‘*open64 (path_31(D), 589824)’ leaks here; was opened at (23) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c: In function ‘bpf_program_cgroup_detach’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:278:14: warning: leak of file descriptor ‘*open64 (p_20(D)->attached_path, 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:275:15: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:275:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:278:14: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:278:14: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bpf-program.c:278:14: note: (6) ‘*open64 (p_20(D)->attached_path, 589824)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
[216/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-get-properties.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-get-properties.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-get-properties.c.o -c ../src/shared/bus-get-properties.c
[217/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-locator.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-locator.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-locator.c.o -c ../src/shared/bus-locator.c
[218/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/blockdev-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/blockdev-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/blockdev-util.c.o -c ../src/shared/blockdev-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘block_device_new_from_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: warning: use of uninitialized value ‘devnum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:717:5: note: (1) entry to ‘block_device_remove_all_partitions’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:726:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:726:12: note: (4) following ‘true’ branch (when ‘dev_49(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:727:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:727:21: note: (6) calling ‘block_device_new_from_fd’ from ‘block_device_remove_all_partitions’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:144:5: note: (7) entry to ‘block_device_new_from_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:146:15: note: (8) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:146:15: note: (9) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (14) calling ‘fd_get_devnum’ from ‘block_device_new_from_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:25:12: note: (15) entry to ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:33:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (20) returning to ‘block_device_new_from_fd’ from ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:153:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: note: (23) use of uninitialized value ‘devnum’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: warning: use of uninitialized value ‘devnum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:359:5: note: (1) entry to ‘blockdev_partscan_enabled’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:413:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:413:13: note: (4) calling ‘block_device_new_from_fd’ from ‘blockdev_partscan_enabled’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:144:5: note: (5) entry to ‘block_device_new_from_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:146:15: note: (6) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:146:15: note: (7) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (12) calling ‘fd_get_devnum’ from ‘block_device_new_from_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:25:12: note: (13) entry to ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:33:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:152:13: note: (18) returning to ‘block_device_new_from_fd’ from ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:153:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:156:13: note: (21) use of uninitialized value ‘devnum’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘get_block_device’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:281:14: warning: leak of file descriptor ‘*open64 (path_13(D), 655360)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:546:5: note: (1) entry to ‘path_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:551:13: note: (2) calling ‘get_block_device’ from ‘path_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:275:5: note: (3) entry to ‘get_block_device’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:281:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:281:14: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:281:14: note: (9) ‘*open64 (path_13(D), 655360)’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘get_block_device_harder_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:318:13: warning: use of uninitialized value ‘*ret_12(D)’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:850:5: note: (1) entry to ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:852:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:852:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:862:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (6) calling ‘get_block_device_harder’ from ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:325:5: note: (7) entry to ‘get_block_device_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:332:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:335:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:335:16: note: (14) calling ‘get_block_device_harder_fd’ from ‘get_block_device_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:305:5: note: (15) entry to ‘get_block_device_harder_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:314:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:314:13: note: (20) calling ‘get_block_device_fd’ from ‘get_block_device_harder_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:247:5: note: (21) entry to ‘get_block_device_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:257:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:257:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-device.h:20, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:258:25: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:314:13: note: (28) returning to ‘get_block_device_harder_fd’ from ‘get_block_device_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:315:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:318:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:318:13: note: (31) use of uninitialized value ‘*ret_12(D)’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘get_block_device_harder’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: warning: leak of file descriptor ‘*open64 (path_13(D), 655360)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:850:5: note: (1) entry to ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:862:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (4) calling ‘get_block_device_harder’ from ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:325:5: note: (5) entry to ‘get_block_device_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: note: (10) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: note: (11) ‘*open64 (path_13(D), 655360)’ leaks here; was opened at (10) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘blockdev_is_encrypted’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:493:13: warning: leak of ‘opendir (path_extend_internal (0B, sysfs_path_22(D), "slaves", -1B))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:461:12: note: (1) entry to ‘blockdev_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:468:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:468:12: note: (4) following ‘false’ branch (when ‘depth_left_23(D) != 0’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:17: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:472:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:475:13: note: (7) inlined call to ‘read_one_line_file’ from ‘blockdev_is_encrypted’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:20: <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘blockdev_is_encrypted’ at ../src/shared/blockdev-util.c:475:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘blockdev_is_encrypted’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:490:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:493:13: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:493:13: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:493:13: note: (12) ‘opendir (path_extend_internal (0B, sysfs_path_22(D), "slaves", -1B))’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘fd_is_encrypted’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: warning: use of uninitialized value ‘devt’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:530:5: note: (1) entry to ‘fd_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:532:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:532:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:535:13: note: (4) calling ‘get_block_device_fd’ from ‘fd_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:247:5: note: (5) entry to ‘get_block_device_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:257:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:257:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:258:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:535:13: note: (12) returning to ‘fd_is_encrypted’ from ‘get_block_device_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:536:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:538:12: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:538:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: note: (17) use of uninitialized value ‘devt’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘path_is_encrypted’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: warning: use of uninitialized value ‘devt’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:546:5: note: (1) entry to ‘path_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:548:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:548:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:551:13: note: (4) calling ‘get_block_device’ from ‘path_is_encrypted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:275:5: note: (5) entry to ‘get_block_device’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:281:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:551:13: note: (10) returning to ‘path_is_encrypted’ from ‘get_block_device’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:552:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:554:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:554:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stdio-util.h:24:27: note: (15) use of uninitialized value ‘devt’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘fd_get_whole_disk’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: warning: use of uninitialized value ‘devt’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:562:5: note: (1) entry to ‘fd_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:563:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:563:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (8) calling ‘fd_get_devnum’ from ‘fd_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:25:12: note: (9) entry to ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:33:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (14) returning to ‘fd_get_whole_disk’ from ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:570:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: note: (17) use of uninitialized value ‘devt’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: warning: use of uninitialized value ‘devt’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:576:5: note: (1) entry to ‘path_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:580:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:583:16: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:583:16: note: (4) calling ‘fd_get_whole_disk’ from ‘path_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:562:5: note: (5) entry to ‘fd_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:563:15: note: (6) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:563:15: note: (7) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (12) calling ‘fd_get_devnum’ from ‘fd_get_whole_disk’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:25:12: note: (13) entry to ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:33:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:569:13: note: (18) returning to ‘fd_get_whole_disk’ from ‘fd_get_devnum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:570:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:573:16: note: (21) use of uninitialized value ‘devt’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘path_get_whole_disk’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:579:14: warning: leak of file descriptor ‘*open64 (path_8(D), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:579:14: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:579:14: note: (2) ‘*open64 (path_8(D), 2621440)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c: In function ‘blockdev_get_root’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:895:22: warning: use of uninitialized value ‘devno’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:850:5: note: (1) entry to ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:852:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:852:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:862:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (6) calling ‘get_block_device_harder’ from ‘blockdev_get_root’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:325:5: note: (7) entry to ‘get_block_device_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:331:14: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:863:21: note: (12) returning to ‘blockdev_get_root’ from ‘get_block_device_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:864:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:866:20: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:866:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:868:20: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:868:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:894:12: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:894:12: note: (19) following ‘true’ branch (when ‘ret_71(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:895:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.c:895:22: note: (21) use of uninitialized value ‘devno’ here <--[csmock-gcc-wrapper]
[219/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-device_sd-device.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-device_sd-device.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-device_sd-device.c.o -c ../src/libsystemd/sd-device/sd-device.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/sd-device.c: internal warning: child 4273 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 4273 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[220/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-log-control-api.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-log-control-api.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-log-control-api.c.o -c ../src/shared/bus-log-control-api.c
[221/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-message-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-message-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-message-util.c.o -c ../src/shared/bus-message-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c: In function ‘bus_message_read_dns_one’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: warning: use of uninitialized value ‘family’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:74:12: note: (1) entry to ‘bus_message_read_dns_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:85:13: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:85:13: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/in-addr-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:93:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:94:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (16) calling ‘bus_message_read_in_addr_auto’ from ‘bus_message_read_dns_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:46:5: note: (17) entry to ‘bus_message_read_in_addr_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:53:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (20) returning to ‘bus_message_read_dns_one’ from ‘bus_message_read_in_addr_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:98:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: note: (23) use of uninitialized value ‘family’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: warning: use of uninitialized value ‘family’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:132:5: note: (1) entry to ‘bus_message_read_dns_servers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:147:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:148:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (9) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:157:21: note: (10) calling ‘bus_message_read_dns_one’ from ‘bus_message_read_dns_servers’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:74:12: note: (11) entry to ‘bus_message_read_dns_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:85:13: note: (12) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:85:13: note: (13) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:93:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:94:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (26) calling ‘bus_message_read_in_addr_auto’ from ‘bus_message_read_dns_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:46:5: note: (27) entry to ‘bus_message_read_in_addr_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:53:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:97:13: note: (30) returning to ‘bus_message_read_dns_one’ from ‘bus_message_read_in_addr_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:98:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-message-util.c:101:14: note: (33) use of uninitialized value ‘family’ here <--[csmock-gcc-wrapper]
[222/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-map-properties.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-map-properties.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-map-properties.c.o -c ../src/shared/bus-map-properties.c
[223/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-object.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-object.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-object.c.o -c ../src/shared/bus-object.c
[224/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bootspec.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bootspec.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bootspec.c.o -c ../src/shared/bootspec.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘json_cmdline’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1611:1: warning: leak of ‘combined_cmdline’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1570:12: note: (1) entry to ‘json_cmdline’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/ether-addr-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1582:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1582:12: note: (4) following ‘true’ branch (when ‘def_cmdline_31(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1583:36: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1583:36: note: (6) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1584:20: note: (7) assuming ‘combined_cmdline’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1584:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1588:23: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1589:21: note: (10) calling ‘json_addon’ from ‘json_cmdline’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1549:12: note: (11) entry to ‘json_addon’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/bootspec-fundamental.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:300:64: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1589:21: note: (16) returning to ‘json_cmdline’ from ‘json_addon’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1590:20: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1577:53: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1611:1: note: (19) ‘combined_cmdline’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&field]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1324:5: note: (1) entry to ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:20: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (8) calling ‘boot_config_load’ from ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1283:5: note: (9) entry to ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1291:31: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1293:12: note: (12) following ‘true’ branch (when ‘esp_path_11(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (14) calling ‘boot_loader_read_conf_path’ from ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:485:12: note: (15) entry to ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:493:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:494:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (24) calling ‘boot_loader_read_conf’ from ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:432:5: note: (25) entry to ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (31) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:31: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (38) following ‘case 0:, case 35:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:20: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (40) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (42) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (43) second ‘free’ here; first ‘free’ was at (41) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&field]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1324:5: note: (1) entry to ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:20: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (8) calling ‘boot_config_load’ from ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1283:5: note: (9) entry to ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1291:31: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1293:12: note: (12) following ‘true’ branch (when ‘esp_path_11(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (14) calling ‘boot_loader_read_conf_path’ from ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:485:12: note: (15) entry to ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:493:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:494:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (24) calling ‘boot_loader_read_conf’ from ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:432:5: note: (25) entry to ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (31) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:31: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (38) following ‘case 0:, case 35:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:20: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (40) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (47) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (49) second ‘free’ here; first ‘free’ was at (41) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&field]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1324:5: note: (1) entry to ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:20: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (8) calling ‘boot_config_load’ from ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1283:5: note: (9) entry to ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1291:31: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1293:12: note: (12) following ‘true’ branch (when ‘esp_path_11(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (14) calling ‘boot_loader_read_conf_path’ from ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:485:12: note: (15) entry to ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:493:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:494:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (24) calling ‘boot_loader_read_conf’ from ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:432:5: note: (25) entry to ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (31) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:31: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (38) following ‘case 0:, case 35:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:20: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (40) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (42) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (43) second ‘free’ here; first ‘free’ was at (41) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&field]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1324:5: note: (1) entry to ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1342:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1343:20: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1344:32: note: (8) calling ‘boot_config_load’ from ‘boot_config_load_auto’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1283:5: note: (9) entry to ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1291:31: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1293:12: note: (12) following ‘true’ branch (when ‘esp_path_11(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1294:21: note: (14) calling ‘boot_loader_read_conf_path’ from ‘boot_config_load’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:485:12: note: (15) entry to ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:493:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:494:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:496:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:499:16: note: (24) calling ‘boot_loader_read_conf’ from ‘boot_loader_read_conf_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:432:5: note: (25) entry to ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (31) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:31: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (38) following ‘case 0:, case 35:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:20: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (40) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_loader_read_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:443:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:445:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:447:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:31: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (48) following ‘case 0:, case 35:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:450:20: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:440:51: note: (50) inlined call to ‘freep’ from ‘boot_loader_read_conf’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘boot_loader_read_conf’ at ../src/shared/bootspec.c:440:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (51) second ‘free’ here; first ‘free’ was at (41) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1655:52:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&link]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1780:5: note: (1) entry to ‘show_boot_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1785:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1785:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1802:38: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1807:85: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1803:29: note: (8) calling ‘show_boot_entry’ from ‘show_boot_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1613:5: note: (9) entry to ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1628:43: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1630:9: note: (12) calling ‘boot_entry_title’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.h:123:27: note: (13) entry to ‘boot_entry_title’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.h:126:32: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:125:10: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1630:9: note: (18) returning to ‘show_boot_entry’ from ‘boot_entry_title’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1641:12: note: (19) following ‘true’ branch (when ‘show_reported_70(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1642:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1654:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1655:52: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1657:77: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1657:43: note: (24) inlined call to ‘path_startswith’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:10: <--[csmock-gcc-wrapper]
In function ‘path_startswith’,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1657:43:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:57:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1658:20: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:111:25: note: (27) inlined call to ‘ansi_normal’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pretty-print.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:19: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.h:189:24: note: (28) inlined call to ‘colors_enabled’ from ‘ansi_normal’ <--[csmock-gcc-wrapper]
In function ‘colors_enabled’,
inlined from ‘ansi_normal’ at ../src/basic/terminal-util.h:230:1,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1659:32:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.h:184:16: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1660:28: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:303:19: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1655:52: note: (32) inlined call to ‘freep’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1655:52:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (33) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1803:29: note: (34) returning to ‘show_boot_entries’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1809:28: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1812:30: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1802:38: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1807:85: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1803:29: note: (39) calling ‘show_boot_entry’ from ‘show_boot_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1613:5: note: (40) entry to ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1628:43: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1630:9: note: (43) calling ‘boot_entry_title’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.h:123:27: note: (44) entry to ‘boot_entry_title’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.h:126:32: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:125:10: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1630:9: note: (49) returning to ‘show_boot_entry’ from ‘boot_entry_title’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1641:12: note: (50) following ‘true’ branch (when ‘show_reported_70(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1642:22: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1654:12: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1655:52: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1657:77: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1657:43: note: (55) inlined call to ‘path_startswith’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
In function ‘path_startswith’,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1657:43:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:57:16: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1658:20: note: (57) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:111:25: note: (58) inlined call to ‘ansi_normal’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.h:189:24: note: (59) inlined call to ‘colors_enabled’ from ‘ansi_normal’ <--[csmock-gcc-wrapper]
In function ‘colors_enabled’,
inlined from ‘ansi_normal’ at ../src/basic/terminal-util.h:230:1,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1659:32:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/terminal-util.h:184:16: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘show_boot_entry’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1660:28: note: (61) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:303:19: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1655:52: note: (63) inlined call to ‘freep’ from ‘show_boot_entry’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_boot_entry’ at ../src/shared/bootspec.c:1655:52:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (64) second ‘free’ here; first ‘free’ was at (33) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c: In function ‘boot_config_augment_from_loader’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:54: warning: leak of ‘strdup (*__unique_prefix_i26_22)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1366:5: note: (1) entry to ‘boot_config_augment_from_loader’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (3) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (6) calling ‘boot_config_find_entry’ from ‘boot_config_augment_from_loader’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1434:12: note: (7) entry to ‘boot_config_find_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (11) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (12) returning to ‘boot_config_augment_from_loader’ from ‘boot_config_find_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1393:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1398:20: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1401:21: note: (15) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1402:20: note: (16) assuming ‘strdup (*__unique_prefix_i26_22)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1402:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:17: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:157:16: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1406:28: note: (21) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1407:37: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1408:36: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1413:21: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1414:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1417:61: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1417:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:23: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:54: note: (29) ‘strdup (*__unique_prefix_i26_22)’ leaks here; was allocated at (15) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:54: warning: leak of ‘strdup ("/sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1366:5: note: (1) entry to ‘boot_config_augment_from_loader’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (3) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (6) calling ‘boot_config_find_entry’ from ‘boot_config_augment_from_loader’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1434:12: note: (7) entry to ‘boot_config_find_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (11) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1392:28: note: (12) returning to ‘boot_config_augment_from_loader’ from ‘boot_config_find_entry’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1393:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1398:20: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1402:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (16) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:157:16: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1406:28: note: (19) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1407:37: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1408:36: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1413:21: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1413:21: note: (23) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1414:20: note: (24) assuming ‘strdup ("/sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f")’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1414:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1417:61: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1417:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:23: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bootspec.c:1420:54: note: (29) ‘strdup ("/sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f")’ leaks here; was allocated at (23) <--[csmock-gcc-wrapper]
[225/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/btrfs-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/btrfs-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/btrfs-util.c.o -c ../src/shared/btrfs-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:18: <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: warning: leak of ‘malloc (48)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1953:12: note: (1) entry to ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (6) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (7) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (10) following ‘true’ branch (when ‘__unique_prefix_A11_10 >= __unique_prefix_B12_11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:254:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
cc1: note: (14) calling ‘btrfs_ioctl_search_args_compare.part.0’ from ‘btrfs_ioctl_search_args_compare’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (15) entry to ‘btrfs_ioctl_search_args_compare.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (16) following ‘true’ branch (when ‘__unique_prefix_A13_2 >= __unique_prefix_B14_3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:258:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (20) following ‘false’ branch (when ‘__unique_prefix_A15_6 < __unique_prefix_B16_7’)... <--[csmock-gcc-wrapper]
cc1: note: (21) ...to here
cc1: note: (22) returning to ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_ioctl_search_args_compare.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (23) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1982:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:36: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:302:35: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (30) calling ‘btrfs_iterate’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:272:12: note: (31) entry to ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:274:17: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:275:17: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:276:17: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:278:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:282:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:286:37: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (42) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:39: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1991:25: note: (44) inlined call to ‘btrfs_ioctl_search_args_set’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
In function ‘btrfs_ioctl_search_args_set’,
inlined from ‘btrfs_read_chunk_tree_fd’ at ../src/shared/btrfs-util.c:1991:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:241:35: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (46) inlined call to ‘malloc_multiply’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘btrfs_read_chunk_tree_fd’ at ../src/shared/btrfs-util.c:1998:33:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (47) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1999:28: note: (48) assuming ‘malloc (48)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1999:28: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2002:51: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2012:28: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (52) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2024:28: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2027:29: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (55) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: note: (56) ‘malloc (48)’ leaks here; was allocated at (47) <--[csmock-gcc-wrapper]
In function ‘btrfs_ioctl_search_args_set’,
inlined from ‘btrfs_read_chunk_tree_fd’ at ../src/shared/btrfs-util.c:1991:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:241:35: warning: use of uninitialized value ‘MEM[(const struct btrfs_ioctl_search_header * {ref-all})&sh].objectid’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1953:12: note: (1) entry to ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (6) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (7) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (8) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (11) following ‘true’ branch (when ‘__unique_prefix_A11_10 >= __unique_prefix_B12_11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:254:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (14) ...to here
cc1: note: (15) calling ‘btrfs_ioctl_search_args_compare.part.0’ from ‘btrfs_ioctl_search_args_compare’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (16) entry to ‘btrfs_ioctl_search_args_compare.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (17) following ‘true’ branch (when ‘__unique_prefix_A13_2 >= __unique_prefix_B14_3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:258:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (21) following ‘false’ branch (when ‘__unique_prefix_A15_6 < __unique_prefix_B16_7’)... <--[csmock-gcc-wrapper]
cc1: note: (22) ...to here
cc1: note: (23) returning to ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_ioctl_search_args_compare.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (24) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1982:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:36: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:302:35: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (31) calling ‘btrfs_iterate’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:272:12: note: (32) entry to ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:274:17: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:275:17: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:276:17: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:278:14: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (41) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:22: note: (42) calling ‘btrfs_ioctl_search_args_inc’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:208:13: note: (43) entry to ‘btrfs_ioctl_search_args_inc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:216:22: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:22: note: (46) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_inc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:20: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (48) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (49) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (50) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (53) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1982:20: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:36: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:302:35: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (60) calling ‘btrfs_iterate’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:272:12: note: (61) entry to ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:274:17: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:275:17: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:276:17: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:278:14: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (70) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1991:25: note: (71) inlined call to ‘btrfs_ioctl_search_args_set’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
In function ‘btrfs_ioctl_search_args_set’,
inlined from ‘btrfs_read_chunk_tree_fd’ at ../src/shared/btrfs-util.c:1991:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:241:35: note: (72) use of uninitialized value ‘MEM[(const struct btrfs_ioctl_search_header * {ref-all})&sh].objectid’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:241:35: warning: use of uninitialized value ‘MEM[(const struct btrfs_ioctl_search_header * {ref-all})&sh].objectid’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2087:5: note: (1) entry to ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2108:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2108:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2111:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2112:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (10) calling ‘btrfs_is_nocow_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2068:12: note: (11) entry to ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2074:13: note: (13) inlined call to ‘fd_is_fs_type’ from ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:21: <--[csmock-gcc-wrapper]
In function ‘fd_is_fs_type’,
inlined from ‘btrfs_is_nocow_fd’ at ../src/shared/btrfs-util.c:2074:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:66:16: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (15) returning to ‘btrfs_get_file_physical_offset_fd’ from ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2116:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2118:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2118:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (20) calling ‘btrfs_subvol_get_id_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:173:5: note: (21) entry to ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:182:13: note: (25) inlined call to ‘fd_is_fs_type’ from ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
In function ‘fd_is_fs_type’,
inlined from ‘btrfs_subvol_get_id_fd’ at ../src/shared/btrfs-util.c:182:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:66:16: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_read_chunk_tree_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:188:12: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:189:25: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (29) returning to ‘btrfs_get_file_physical_offset_fd’ from ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2123:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2126:13: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2126:13: note: (32) calling ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1953:12: note: (33) entry to ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (34) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (38) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (39) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (40) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (43) following ‘true’ branch (when ‘__unique_prefix_A11_10 >= __unique_prefix_B12_11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:254:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (46) ...to here
cc1: note: (47) calling ‘btrfs_ioctl_search_args_compare.part.0’ from ‘btrfs_ioctl_search_args_compare’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (48) entry to ‘btrfs_ioctl_search_args_compare.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (49) following ‘true’ branch (when ‘__unique_prefix_A13_2 >= __unique_prefix_B14_3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:258:12: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (53) following ‘false’ branch (when ‘__unique_prefix_A15_6 < __unique_prefix_B16_7’)... <--[csmock-gcc-wrapper]
cc1: note: (54) ...to here
cc1: note: (55) returning to ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_ioctl_search_args_compare.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (56) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (57) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1982:20: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:36: note: (60) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:20: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:302:35: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (63) calling ‘btrfs_iterate’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:272:12: note: (64) entry to ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:274:17: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:275:17: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:276:17: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:278:14: note: (72) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (73) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:22: note: (74) calling ‘btrfs_ioctl_search_args_inc’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:208:13: note: (75) entry to ‘btrfs_ioctl_search_args_inc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (76) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:216:22: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:22: note: (78) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_inc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2030:20: note: (79) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (80) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (81) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (82) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (83) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (84) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (85) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (86) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1982:20: note: (88) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:36: note: (89) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1985:20: note: (90) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:302:35: note: (91) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (92) calling ‘btrfs_iterate’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:272:12: note: (93) entry to ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (94) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:274:17: note: (95) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (96) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:275:17: note: (97) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (98) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:276:17: note: (99) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (100) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:278:14: note: (101) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:307:14: note: (102) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_iterate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1991:25: note: (103) inlined call to ‘btrfs_ioctl_search_args_set’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
In function ‘btrfs_ioctl_search_args_set’,
inlined from ‘btrfs_read_chunk_tree_fd’ at ../src/shared/btrfs-util.c:1991:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:241:35: note: (104) use of uninitialized value ‘MEM[(const struct btrfs_ioctl_search_header * {ref-all})&sh].objectid’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_subvol_auto_qgroup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1808:14: warning: leak of file descriptor ‘*open64 (path_8(D), 590080)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1808:14: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1808:14: note: (2) ‘*open64 (path_8(D), 590080)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_subvol_make_default’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1822:14: warning: leak of file descriptor ‘*open64 (path_13(D), 590080)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1822:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1822:14: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1822:14: note: (4) ‘*open64 (path_13(D), 590080)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_forget_device’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1906:22: warning: leak of file descriptor ‘*open64 ("/dev/btrfs-control", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1901:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1901:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1904:9: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1906:22: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1906:22: note: (6) ‘*open64 ("/dev/btrfs-control", 524290)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_get_file_physical_offset_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2130:33: warning: use of uninitialized value ‘subvol_id’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2087:5: note: (1) entry to ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2101:18: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2101:18: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2108:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2108:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2111:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2112:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (12) calling ‘btrfs_is_nocow_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2068:12: note: (13) entry to ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2074:13: note: (15) inlined call to ‘fd_is_fs_type’ from ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
In function ‘fd_is_fs_type’,
inlined from ‘btrfs_is_nocow_fd’ at ../src/shared/btrfs-util.c:2074:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:66:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_get_file_physical_offset_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2115:13: note: (17) returning to ‘btrfs_get_file_physical_offset_fd’ from ‘btrfs_is_nocow_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2116:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2118:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2118:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (22) calling ‘btrfs_subvol_get_id_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:173:5: note: (23) entry to ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:182:13: note: (27) inlined call to ‘fd_is_fs_type’ from ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
In function ‘fd_is_fs_type’,
inlined from ‘btrfs_subvol_get_id_fd’ at ../src/shared/btrfs-util.c:182:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:66:16: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c: In function ‘btrfs_get_file_physical_offset_fd’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:188:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:189:25: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2122:13: note: (31) returning to ‘btrfs_get_file_physical_offset_fd’ from ‘btrfs_subvol_get_id_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2123:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2126:13: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2126:13: note: (34) calling ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_get_file_physical_offset_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1953:12: note: (35) entry to ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (39) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (40) calling ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (41) entry to ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (44) following ‘true’ branch (when ‘__unique_prefix_A11_10 >= __unique_prefix_B12_11’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:254:12: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (47) ...to here
cc1: note: (48) calling ‘btrfs_ioctl_search_args_compare.part.0’ from ‘btrfs_ioctl_search_args_compare’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:246:12: note: (49) entry to ‘btrfs_ioctl_search_args_compare.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (50) following ‘true’ branch (when ‘__unique_prefix_A13_2 >= __unique_prefix_B14_3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:290:51: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:258:12: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (54) following ‘false’ branch (when ‘__unique_prefix_A15_6 < __unique_prefix_B16_7’)... <--[csmock-gcc-wrapper]
cc1: note: (55) ...to here
cc1: note: (56) returning to ‘btrfs_ioctl_search_args_compare’ from ‘btrfs_ioctl_search_args_compare.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:16: note: (57) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_ioctl_search_args_compare’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1976:62: note: (58) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1977:50: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1971:57: note: (60) calling ‘btrfs_chunk_tree_done’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1944:13: note: (61) entry to ‘btrfs_chunk_tree_done’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1947:23: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:1971:57: note: (64) returning to ‘btrfs_read_chunk_tree_fd’ from ‘btrfs_chunk_tree_done’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2126:13: note: (65) returning to ‘btrfs_get_file_physical_offset_fd’ from ‘btrfs_read_chunk_tree_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2127:12: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2130:33: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.c:2130:33: note: (68) use of uninitialized value ‘subvol_id’ here <--[csmock-gcc-wrapper]
[226/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-polkit.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-polkit.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-polkit.c.o -c ../src/shared/bus-polkit.c
[227/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-print-properties.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-print-properties.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-print-properties.c.o -c ../src/shared/bus-print-properties.c
[228/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_journal-file.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_journal-file.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-file.c.o -c ../src/libsystemd/sd-journal/journal-file.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/journal-file.c: internal warning: child 4519 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 4519 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[229/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-event_sd-event.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-event_sd-event.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-event_sd-event.c.o -c ../src/libsystemd/sd-event/sd-event.c
[230/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-util.c.o -c ../src/shared/bus-util.c
[231/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-procs.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-procs.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-procs.c.o -c ../src/shared/bus-unit-procs.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:17, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/output-mode.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:4: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c: In function ‘add_process’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:108:38: warning: use of uninitialized value ‘cg’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:324:5: note: (1) entry to ‘unit_show_processes’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/ether-addr-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:341:19: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:356:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:88:26: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:360:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:363:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:364:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (11) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:372:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:374:20: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:374:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:377:21: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:377:21: note: (16) calling ‘add_process’ from ‘unit_show_processes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:91:12: note: (17) entry to ‘add_process’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:97:28: note: (18) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:97:28: note: (19) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:104:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:104:13: note: (26) calling ‘add_cgroup’ from ‘add_process’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:28:12: note: (27) entry to ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:35:16: note: (31) inlined call to ‘empty_to_root’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:218:16: note: (32) inlined call to ‘isempty’ from ‘empty_to_root’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘empty_to_root’ at ../src/basic/path-util.h:218:16,
inlined from ‘add_cgroup’ at ../src/shared/bus-unit-procs.c:35:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c: In function ‘add_process’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:38:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:14: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:46:21: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:47:20: note: (38) following ‘false’ branch (when ‘e_38’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:50:44: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:50:22: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:52:21: note: (42) calling ‘add_cgroup’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:28:12: note: (43) entry to ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:35:16: note: (47) inlined call to ‘empty_to_root’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:218:16: note: (48) inlined call to ‘isempty’ from ‘empty_to_root’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘empty_to_root’ at ../src/basic/path-util.h:218:16,
inlined from ‘add_cgroup’ at ../src/shared/bus-unit-procs.c:35:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (50) following ‘false’ branch (when ‘path_34(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c: In function ‘add_process’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:38:12: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:46:21: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:47:20: note: (56) following ‘false’ branch (when ‘e_38’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:50:44: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:50:22: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:52:21: note: (60) calling ‘add_cgroup’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:28:12: note: (61) entry to ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:35:16: note: (65) inlined call to ‘empty_to_root’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:218:16: note: (66) inlined call to ‘isempty’ from ‘empty_to_root’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘empty_to_root’ at ../src/basic/path-util.h:218:16,
inlined from ‘add_cgroup’ at ../src/shared/bus-unit-procs.c:35:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (68) following ‘false’ branch (when ‘path_34(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c: In function ‘add_process’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:38:12: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:14: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:43:12: note: (72) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:25:26: note: (73) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:58:12: note: (74) following ‘false’ branch (when ‘cg_50’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:61:12: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:61:12: note: (76) following ‘false’ branch (when ‘is_const_51(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:64:35: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:65:20: note: (78) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:71:22: note: (79) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:76:20: note: (80) following ‘false’ branch (when ‘is_const_51(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:77:32: note: (81) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:52:21: note: (82) returning to ‘add_cgroup’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:53:20: note: (83) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:40:24: note: (84) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:52:21: note: (85) returning to ‘add_cgroup’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:53:20: note: (86) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:40:24: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:104:13: note: (88) returning to ‘add_process’ from ‘add_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:105:12: note: (89) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:108:65: note: (90) inlined call to ‘PID_TO_PTR’ from ‘add_process’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:10: <--[csmock-gcc-wrapper]
In function ‘PID_TO_PTR’,
inlined from ‘add_process’ at ../src/shared/bus-unit-procs.c:108:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:132:25: note: (91) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c: In function ‘add_process’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-unit-procs.c:108:38: note: (92) use of uninitialized value ‘cg’ here <--[csmock-gcc-wrapper]
[232/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-jobs.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-jobs.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-jobs.c.o -c ../src/shared/bus-wait-for-jobs.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:3: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘check_wait_response’ at ../src/shared/bus-wait-for-jobs.c:255:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&result]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:289:5: note: (1) entry to ‘bus_wait_for_jobs.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:294:16: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:297:21: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:298:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:301:22: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:302:29: note: (6) calling ‘check_wait_response’ from ‘bus_wait_for_jobs.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:215:12: note: (7) entry to ‘check_wait_response’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:219:17: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:220:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-match.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-internal.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:4: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:257:29: note: (14) calling ‘bus_job_get_service_result’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:136:12: note: (15) entry to ‘bus_job_get_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:140:17: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:143:14: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:257:29: note: (22) returning to ‘check_wait_response’ from ‘bus_job_get_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:262:25: note: (23) calling ‘log_job_error_with_service_result’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:159:13: note: (24) entry to ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:179:32: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:189:14: note: (27) inlined call to ‘isempty’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘log_job_error_with_service_result’ at ../src/shared/bus-wait-for-jobs.c:189:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (28) following ‘true’ branch (when ‘result_77(D)’ is NULL)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:208:13: note: (30) inlined call to ‘streq_ptr’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
In function ‘streq_ptr’,
inlined from ‘log_job_error_with_service_result’ at ../src/shared/bus-wait-for-jobs.c:208:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:46:16: note: (31) calling ‘strcmp_ptr’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:31:19: note: (32) entry to ‘strcmp_ptr’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:32:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:289:52: note: (35) following ‘false’ branch (when ‘a_6(D) < b_7(D)’)... <--[csmock-gcc-wrapper]
cc1: note: (36) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:208:13: note: (37) inlined call to ‘streq_ptr’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
In function ‘streq_ptr’,
inlined from ‘log_job_error_with_service_result’ at ../src/shared/bus-wait-for-jobs.c:208:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:46:16: note: (38) returning to ‘log_job_error_with_service_result’ from ‘strcmp_ptr’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:208:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:174:30: note: (40) inlined call to ‘freep’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘log_job_error_with_service_result’ at ../src/shared/bus-wait-for-jobs.c:174:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:262:25: note: (42) returning to ‘check_wait_response’ from ‘log_job_error_with_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:255:46: note: (43) inlined call to ‘freep’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘check_wait_response’ at ../src/shared/bus-wait-for-jobs.c:255:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (44) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c: In function ‘check_wait_response’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:302:29: note: (45) returning to ‘bus_wait_for_jobs.part.0’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-error.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-internal.h:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:82:20: note: (46) following ‘true’ branch (when ‘r_15 == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (47) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:294:16: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:297:21: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:298:20: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:301:22: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:302:29: note: (52) calling ‘check_wait_response’ from ‘bus_wait_for_jobs.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:215:12: note: (53) entry to ‘check_wait_response’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:219:17: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:220:17: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:257:29: note: (60) calling ‘bus_job_get_service_result’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:136:12: note: (61) entry to ‘bus_job_get_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:140:17: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:143:14: note: (67) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:257:29: note: (68) returning to ‘check_wait_response’ from ‘bus_job_get_service_result’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-jobs.c:255:46: note: (69) inlined call to ‘freep’ from ‘check_wait_response’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘check_wait_response’ at ../src/shared/bus-wait-for-jobs.c:255:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (70) second ‘free’ here; first ‘free’ was at (44) <--[csmock-gcc-wrapper]
[233/2523] gcc -Isrc/libsystemd/libsystemd_static.a.p -Isrc/libsystemd -I../src/libsystemd -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libsystemd/libsystemd_static.a.p/sd-journal_sd-journal.c.o -MF src/libsystemd/libsystemd_static.a.p/sd-journal_sd-journal.c.o.d -o src/libsystemd/libsystemd_static.a.p/sd-journal_sd-journal.c.o -c ../src/libsystemd/sd-journal/sd-journal.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c: In function ‘match_free.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:211:17: warning: use after ‘free’ of ‘m_2(D)’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:440:15: note: (1) entry to ‘sd_journal_flush_matches.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:444:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:445:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:445:17: note: (4) calling ‘match_free’ from ‘sd_journal_flush_matches.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (5) entry to ‘match_free’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:15: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (7) ...to here
cc1: note: (8) calling ‘match_free.part.0’ from ‘match_free’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (9) entry to ‘match_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:211:16: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:212:17: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:212:17: note: (12) calling ‘match_free’ from ‘match_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (13) entry to ‘match_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (15) ...to here
cc1: note: (16) calling ‘match_free.part.0’ from ‘match_free’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (17) entry to ‘match_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:211:16: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:214:14: note: (19) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (20) freed here <--[csmock-gcc-wrapper]
cc1: note: (21) returning to ‘match_free’ from ‘match_free.part.0’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:212:17: note: (22) returning to ‘match_free.part.0’ from ‘match_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:211:16: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:212:17: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:212:17: note: (25) calling ‘match_free’ from ‘match_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (26) entry to ‘match_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (28) ...to here
cc1: note: (29) calling ‘match_free.part.0’ from ‘match_free’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:208:15: note: (30) entry to ‘match_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:211:17: note: (31) use after ‘free’ of ‘m_2(D)’; freed at (20) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c: In function ‘add_any_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1532:39: warning: leak of file descriptor ‘*open64 (path_75(D), 526336)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3074:14: note: (1) entry to ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (4) calling ‘journal_origin_changed’ from ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:36: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:57:46: note: (5) entry to ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (8) calling ‘origin_id_query’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:21:17: note: (9) entry to ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:24:28: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (12) returning to ‘journal_origin_changed’ from ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (13) returning to ‘sd_journal_wait’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3080:35: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3082:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3082:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3083:30: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3086:21: note: (20) calling ‘sd_journal_get_fd’ from ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2876:14: note: (21) entry to ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (24) calling ‘journal_origin_changed’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:57:46: note: (25) entry to ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:17: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (28) calling ‘origin_id_query’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:21:17: note: (29) entry to ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:24:28: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (32) returning to ‘journal_origin_changed’ from ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (33) returning to ‘sd_journal_get_fd’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2881:35: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2883:13: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2883:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2886:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2886:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (42) calling ‘allocate_inotify’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2185:12: note: (43) entry to ‘allocate_inotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2188:14: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2188:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2189:33: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (48) returning to ‘sd_journal_get_fd’ from ‘allocate_inotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2890:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2896:13: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2896:13: note: (53) calling ‘reiterate_all_paths’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2858:12: note: (54) entry to ‘reiterate_all_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2861:13: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2861:12: note: (57) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2862:24: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2862:24: note: (59) calling ‘add_current_paths’ from ‘reiterate_all_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2160:12: note: (60) entry to ‘add_current_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2164:17: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/catalog.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:16: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (64) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:437:43: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2170:38: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2174:20: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2177:21: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2177:21: note: (69) calling ‘add_directory’ from ‘add_current_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1992:12: note: (70) entry to ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (72) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (74) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2009:12: note: (75) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (76) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2021:12: note: (77) following ‘false’ branch (when ‘dirname_39(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (78) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (79) calling ‘directory_open’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1826:12: note: (80) entry to ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (81) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (82) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (83) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (84) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (85) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1833:14: note: (86) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1839:12: note: (87) following ‘true’ branch (when ‘d_13’ is NULL)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1840:25: note: (88) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (89) returning to ‘add_directory’ from ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2028:12: note: (90) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (91) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (92) calling ‘add_directory_impl’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1890:12: note: (93) entry to ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (94) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (95) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (96) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (97) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (98) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1899:20: note: (99) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1901:20: note: (100) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1907:22: note: (101) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (102) returning to ‘add_directory’ from ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2034:12: note: (103) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2036:12: note: (104) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2036:12: note: (105) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2039:10: note: (106) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2041:9: note: (107) calling ‘directory_watch’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1960:13: note: (108) entry to ‘directory_watch’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (109) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (110) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (111) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (112) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (113) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1969:14: note: (114) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2041:9: note: (115) returning to ‘add_directory’ from ‘directory_watch’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2046:12: note: (116) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2047:17: note: (117) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2047:17: note: (118) calling ‘directory_enumerate’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1942:13: note: (119) entry to ‘directory_enumerate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (120) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (121) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (122) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (123) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (124) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:19:36: note: (125) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:20:20: note: (126) following ‘false’ branch (when ‘de_18’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1948:21: note: (127) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1948:21: note: (128) calling ‘dirent_is_journal_file’ from ‘directory_enumerate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1792:13: note: (129) entry to ‘dirent_is_journal_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (130) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1797:23: note: (131) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (132) following ‘case 0:, case 8:, case 10:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1800:27: note: (133) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1948:21: note: (134) returning to ‘directory_enumerate’ from ‘dirent_is_journal_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1948:20: note: (135) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1949:63: note: (136) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1949:32: note: (137) calling ‘add_file_by_name’ from ‘directory_enumerate’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1656:12: note: (138) entry to ‘add_file_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (139) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (140) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (141) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (142) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (143) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1667:13: note: (144) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1667:12: note: (145) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1670:14: note: (146) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1670:14: note: (147) calling ‘file_type_wanted’ from ‘add_file_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1458:13: note: (148) entry to ‘file_type_wanted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (149) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:262:51: note: (150) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1670:14: note: (151) returning to ‘add_file_by_name’ from ‘file_type_wanted’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1670:12: note: (152) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (153) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1674:12: note: (154) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1677:16: note: (155) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1677:16: note: (156) calling ‘add_any_file’ from ‘add_file_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1511:12: note: (157) entry to ‘add_any_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (158) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1522:19: note: (159) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (160) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1524:12: note: (161) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1524:12: note: (162) following ‘true’ branch (when ‘fd_74(D) < 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:24: note: (163) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (164) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1526:22: note: (165) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1526:20: note: (166) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1532:39: note: (167) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1532:39: note: (168) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1532:39: note: (169) ‘*open64 (path_75(D), 526336)’ leaks here; was opened at (168) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c: In function ‘add_directory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2041:9: warning: use of NULL ‘d’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3074:14: note: (1) entry to ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (4) calling ‘journal_origin_changed’ from ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:57:46: note: (5) entry to ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (8) calling ‘origin_id_query’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:21:17: note: (9) entry to ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:24:28: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (12) returning to ‘journal_origin_changed’ from ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3079:24: note: (13) returning to ‘sd_journal_wait’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3080:35: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3082:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3082:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3083:30: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:3086:21: note: (20) calling ‘sd_journal_get_fd’ from ‘sd_journal_wait’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2876:14: note: (21) entry to ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (24) calling ‘journal_origin_changed’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:57:46: note: (25) entry to ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:17: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (28) calling ‘origin_id_query’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:21:17: note: (29) entry to ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:24:28: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/origin-id.h:29:32: note: (32) returning to ‘journal_origin_changed’ from ‘origin_id_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2880:24: note: (33) returning to ‘sd_journal_get_fd’ from ‘journal_origin_changed’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2881:35: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2883:13: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2883:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2886:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2886:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (42) calling ‘allocate_inotify’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2185:12: note: (43) entry to ‘allocate_inotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2188:14: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2188:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2189:33: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2889:13: note: (48) returning to ‘sd_journal_get_fd’ from ‘allocate_inotify’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2890:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2896:13: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2896:13: note: (53) calling ‘reiterate_all_paths’ from ‘sd_journal_get_fd’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2858:12: note: (54) entry to ‘reiterate_all_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2861:13: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2861:12: note: (57) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2862:24: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2862:24: note: (59) calling ‘add_current_paths’ from ‘reiterate_all_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2160:12: note: (60) entry to ‘add_current_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2164:17: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (64) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:437:43: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2170:38: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2174:20: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2177:21: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2177:21: note: (69) calling ‘add_directory’ from ‘add_current_paths’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1992:12: note: (70) entry to ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1998:33: note: (71) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (72) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (73) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (75) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2009:12: note: (76) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (77) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2021:12: note: (78) following ‘false’ branch (when ‘dirname_39(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (79) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (80) calling ‘directory_open’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1826:12: note: (81) entry to ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (82) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (83) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (84) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (85) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (86) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1833:14: note: (87) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1839:12: note: (88) following ‘true’ branch (when ‘d_13’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1840:25: note: (89) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2027:13: note: (90) returning to ‘add_directory’ from ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2028:12: note: (91) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (92) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (93) calling ‘add_directory_impl’ from ‘add_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1890:12: note: (94) entry to ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (95) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (96) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (97) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (98) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (99) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1899:20: note: (100) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1900:12: note: (101) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (102) inlined call to ‘malloc_multiply’ from ‘add_directory_impl’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘add_directory_impl’ at ../src/libsystemd/sd-journal/sd-journal.c:1911:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (103) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c: In function ‘add_directory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1912:12: note: (104) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1918:25: note: (105) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1922:12: note: (106) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:135:48: note: (107) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1926:12: note: (108) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1929:10: note: (109) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1931:12: note: (110) following ‘false’ branch (when ‘is_root_29(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (111) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (112) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1936:14: note: (113) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2033:13: note: (114) returning to ‘add_directory’ from ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2034:12: note: (115) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2036:12: note: (116) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2036:12: note: (117) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2039:10: note: (118) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2041:9: note: (119) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2041:9: note: (120) argument 1 (‘d’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:4: <--[csmock-gcc-wrapper]
/usr/include/dirent.h:226:12: note: argument 1 of ‘dirfd’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c: In function ‘add_root_directory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2121:9: warning: use of NULL ‘d’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2140:12: note: (1) entry to ‘add_search_paths.part.0’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:35: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2152:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2152:24: note: (4) calling ‘add_root_directory’ from ‘add_search_paths.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2061:12: note: (5) entry to ‘add_root_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2063:33: note: (6) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2073:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2073:12: note: (9) following ‘true’ branch (when ‘p_53(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2082:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2085:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2085:21: note: (13) calling ‘directory_open’ from ‘add_root_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1826:12: note: (14) entry to ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1833:14: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1839:12: note: (21) following ‘true’ branch (when ‘d_13’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1840:25: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2085:21: note: (23) returning to ‘add_root_directory’ from ‘directory_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2086:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2088:20: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2088:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2115:13: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2115:13: note: (28) calling ‘add_directory_impl’ from ‘add_root_directory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1890:12: note: (29) entry to ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1899:20: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1901:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:1907:22: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2115:13: note: (38) returning to ‘add_root_directory’ from ‘add_directory_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2116:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2118:12: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2118:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2121:9: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2121:9: note: (43) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-journal/sd-journal.c:2121:9: note: (44) argument 1 (‘d’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/dirent.h:226:12: note: argument 1 of ‘dirfd’ must be non-null <--[csmock-gcc-wrapper]
[234/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/calendarspec.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/calendarspec.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/calendarspec.c.o -c ../src/shared/calendarspec.c
[235/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/chown-recursive.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/chown-recursive.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/chown-recursive.c.o -c ../src/shared/chown-recursive.c
[236/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-units.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-units.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-wait-for-units.c.o -c ../src/shared/bus-wait-for-units.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c: In function ‘bus_wait_for_units_clear’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:88:32: warning: use of uninitialized value ‘d_6(D)->slot_disconnected’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:110:5: note: (1) entry to ‘bus_wait_for_units_new’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-bus/bus-error.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (5) inlined call to ‘malloc_multiply’ from ‘bus_wait_for_units_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘bus_wait_for_units_new’ at ../src/shared/bus-wait-for-units.c:117:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (7) region created on heap here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c: In function ‘bus_wait_for_units_clear’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:118:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:123:24: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:111:62: note: (10) calling ‘bus_wait_for_units_freep’ from ‘bus_wait_for_units_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.h:30:47: note: (11) entry to ‘bus_wait_for_units_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.h:30:47: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.h:30:47: note: (14) calling ‘bus_wait_for_units_free’ from ‘bus_wait_for_units_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:141:18: note: (15) entry to ‘bus_wait_for_units_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:142:12: note: (16) following ‘false’ branch (when ‘d_1(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
cc1: note: (17) ...to here
cc1: note: (18) calling ‘bus_wait_for_units_free.part.0’ from ‘bus_wait_for_units_free’
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:141:18: note: (19) entry to ‘bus_wait_for_units_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:145:9: note: (20) calling ‘bus_wait_for_units_clear’ from ‘bus_wait_for_units_free.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:83:13: note: (21) entry to ‘bus_wait_for_units_clear’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:88:32: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-wait-for-units.c:88:32: note: (24) use of uninitialized value ‘d_6(D)->slot_disconnected’ here <--[csmock-gcc-wrapper]
[237/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-setup.c.o -c ../src/shared/cgroup-setup.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c: In function ‘cg_enable_everywhere’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: warning: leak of FILE ‘*fopen64 (fs, "we")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:924:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:924:12: note: (3) following ‘false’ branch (when ‘supported_44(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:930:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:931:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:933:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:933:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:950:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:951:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (10) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:954:23: note: (11) following ‘true’ branch (when ‘c_20 != 13’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:955:28: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:958:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:961:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:964:21: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:971:28: note: (17) following ‘true’ branch (when ‘f_95’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (19) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (20) ‘*fopen64 (fs, "we")’ leaks here; was opened at (19) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: warning: leak of ‘*fopen64 (fs, "we")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:924:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:924:12: note: (3) following ‘false’ branch (when ‘supported_44(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:930:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:931:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:933:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:933:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:950:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:951:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (10) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:954:23: note: (11) following ‘true’ branch (when ‘c_20 != 13’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:955:28: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:958:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:961:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:964:21: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:971:28: note: (17) following ‘true’ branch (when ‘f_95’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (19) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-setup.c:972:37: note: (20) ‘*fopen64 (fs, "we")’ leaks here; was allocated at (19) <--[csmock-gcc-wrapper]
[238/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/clean-ipc.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/clean-ipc.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/clean-ipc.c.o -c ../src/shared/clean-ipc.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c: In function ‘clean_sysvipc_shm’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: warning: leak of FILE ‘*fopen64 ("/proc/sysvipc/shm", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (1) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:403:13: note: (2) calling ‘clean_sysvipc_shm’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:38:12: note: (3) entry to ‘clean_sysvipc_shm’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: note: (4) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: note: (5) ‘*fopen64 ("/proc/sysvipc/shm", "re")’ leaks here; was opened at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: warning: leak of ‘*fopen64 ("/proc/sysvipc/shm", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (1) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:403:13: note: (2) calling ‘clean_sysvipc_shm’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:38:12: note: (3) entry to ‘clean_sysvipc_shm’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: note: (4) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:43:13: note: (5) ‘*fopen64 ("/proc/sysvipc/shm", "re")’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c: In function ‘clean_sysvipc_sem’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: warning: leak of FILE ‘*fopen64 ("/proc/sysvipc/sem", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:450:5: note: (1) entry to ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:451:16: note: (2) calling ‘clean_ipc_internal’ from ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (3) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:386:12: note: (4) following ‘false’ branch (when ‘uid_11(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:392:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:411:13: note: (6) calling ‘clean_sysvipc_sem’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:102:12: note: (7) entry to ‘clean_sysvipc_sem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: note: (9) ‘*fopen64 ("/proc/sysvipc/sem", "re")’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: warning: leak of ‘*fopen64 ("/proc/sysvipc/sem", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:450:5: note: (1) entry to ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:451:16: note: (2) calling ‘clean_ipc_internal’ from ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (3) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:386:12: note: (4) following ‘false’ branch (when ‘uid_11(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:392:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:411:13: note: (6) calling ‘clean_sysvipc_sem’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:102:12: note: (7) entry to ‘clean_sysvipc_sem’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:107:13: note: (9) ‘*fopen64 ("/proc/sysvipc/sem", "re")’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c: In function ‘clean_sysvipc_msg’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: warning: leak of FILE ‘*fopen64 ("/proc/sysvipc/msg", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:450:5: note: (1) entry to ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:451:16: note: (2) calling ‘clean_ipc_internal’ from ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (3) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:386:12: note: (4) following ‘false’ branch (when ‘uid_11(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:392:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:419:13: note: (6) calling ‘clean_sysvipc_msg’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:161:12: note: (7) entry to ‘clean_sysvipc_msg’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: note: (9) ‘*fopen64 ("/proc/sysvipc/msg", "re")’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: warning: leak of ‘*fopen64 ("/proc/sysvipc/msg", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:450:5: note: (1) entry to ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:451:16: note: (2) calling ‘clean_ipc_internal’ from ‘clean_ipc_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:373:5: note: (3) entry to ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:386:12: note: (4) following ‘false’ branch (when ‘uid_11(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:392:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:419:13: note: (6) calling ‘clean_sysvipc_msg’ from ‘clean_ipc_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:161:12: note: (7) entry to ‘clean_sysvipc_msg’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: note: (8) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clean-ipc.c:166:13: note: (9) ‘*fopen64 ("/proc/sysvipc/msg", "re")’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper]
[239/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-show.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-show.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cgroup-show.c.o -c ../src/shared/cgroup-show.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:9: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&buf]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:365:5: note: (1) entry to ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (4) calling ‘show_cgroup’ from ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:303:5: note: (5) entry to ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:313:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:314:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (10) calling ‘show_cgroup_by_path’ from ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:219:5: note: (11) entry to ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (14) following ‘false’ branch (when ‘n_columns_36(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:236:18: note: (15) inlined call to ‘strempty’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-util.h:16, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:11: <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘show_cgroup_by_path’ at ../src/shared/cgroup-show.c:236:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:239:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:243:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:24: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:20: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:51: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (27) following ‘false’ branch (when ‘shown_pids_16 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (29) calling ‘show_cgroup_one_by_path’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:81:12: note: (30) entry to ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:96:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:61: note: (33) following ‘true’ branch (when ‘_i__23 != 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:75: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:99:14: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:61: note: (37) following ‘true’ branch (when ‘_i__24 != 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:75: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (39) returning to ‘show_cgroup_by_path’ from ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (40) following ‘false’ branch (when ‘last_106’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (41) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:51: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:48: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (50) following ‘true’ branch (when ‘shown_pids_16 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (52) following ‘true’ branch (when ‘last_106’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:263:29: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:263:29: note: (54) calling ‘show_cgroup_name’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:131:12: note: (55) entry to ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:144:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:147:13: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:159:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:162:9: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:179:12: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:180:38: note: (61) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:21: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (62) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (66) inlined call to ‘freep’ from ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (67) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (68) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (70) inlined call to ‘freep’ from ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (71) second ‘free’ here; first ‘free’ was at (67) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&buf]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:365:5: note: (1) entry to ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (4) calling ‘show_cgroup’ from ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:303:5: note: (5) entry to ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:313:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:314:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (10) calling ‘show_cgroup_by_path’ from ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:219:5: note: (11) entry to ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (14) following ‘false’ branch (when ‘n_columns_36(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:236:18: note: (15) inlined call to ‘strempty’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘show_cgroup_by_path’ at ../src/shared/cgroup-show.c:236:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:239:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:243:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:20: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:51: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (27) following ‘false’ branch (when ‘shown_pids_16 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (29) calling ‘show_cgroup_one_by_path’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:81:12: note: (30) entry to ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:96:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:61: note: (33) following ‘true’ branch (when ‘_i__23 != 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:119:75: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:99:14: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:61: note: (37) following ‘true’ branch (when ‘_i__24 != 2’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:122:75: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (39) returning to ‘show_cgroup_by_path’ from ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (40) following ‘false’ branch (when ‘last_106’ is NULL)... <--[csmock-gcc-wrapper]
cc1: note: (41) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:51: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:48: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (50) following ‘true’ branch (when ‘shown_pids_16 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:262:20: note: (52) following ‘true’ branch (when ‘last_106’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:263:29: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:263:29: note: (54) calling ‘show_cgroup_name’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:131:12: note: (55) entry to ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:144:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:147:13: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:159:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:162:9: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:179:12: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:180:38: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (62) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (66) inlined call to ‘freep’ from ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (67) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (68) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (69) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (70) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:190:28: note: (71) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:187:68: note: (72) inlined call to ‘freep’ from ‘show_cgroup_name’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘show_cgroup_name’ at ../src/shared/cgroup-show.c:187:68:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (73) second ‘free’ here; first ‘free’ was at (67) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_one_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: warning: leak of FILE ‘*fopen64 (alloca (MAX_EXPR <_n__47, 1>), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:365:5: note: (1) entry to ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (4) calling ‘show_cgroup’ from ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:303:5: note: (5) entry to ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:313:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:314:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (10) calling ‘show_cgroup_by_path’ from ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:219:5: note: (11) entry to ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (14) following ‘false’ branch (when ‘n_columns_36(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:236:18: note: (15) inlined call to ‘strempty’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘show_cgroup_by_path’ at ../src/shared/cgroup-show.c:236:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_one_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:239:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:243:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (25) following ‘false’ branch (when ‘shown_pids_16 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (27) calling ‘show_cgroup_one_by_path’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:81:12: note: (28) entry to ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:96:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:99:14: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: note: (33) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: note: (34) ‘*fopen64 (alloca (MAX_EXPR <_n__47, 1>), "re")’ leaks here; was opened at (33) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: warning: leak of ‘*fopen64 (alloca (MAX_EXPR <_n__47, 1>), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:365:5: note: (1) entry to ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (4) calling ‘show_cgroup’ from ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:303:5: note: (5) entry to ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:313:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:314:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (10) calling ‘show_cgroup_by_path’ from ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:219:5: note: (11) entry to ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (14) following ‘false’ branch (when ‘n_columns_36(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:236:18: note: (15) inlined call to ‘strempty’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘show_cgroup_by_path’ at ../src/shared/cgroup-show.c:236:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_one_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:239:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:243:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:246:47: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:251:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:254:29: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:257:20: note: (25) following ‘false’ branch (when ‘shown_pids_16 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:258:32: note: (27) calling ‘show_cgroup_one_by_path’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:81:12: note: (28) entry to ‘show_cgroup_one_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:96:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:115:29: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:99:14: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: note: (33) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:100:13: note: (34) ‘*fopen64 (alloca (MAX_EXPR <_n__47, 1>), "re")’ leaks here; was allocated at (33) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: warning: leak of ‘opendir (fn)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:365:5: note: (1) entry to ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:378:13: note: (4) calling ‘show_cgroup’ from ‘show_cgroup_and_extra’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:303:5: note: (5) entry to ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:313:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:314:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:317:16: note: (10) calling ‘show_cgroup_by_path’ from ‘show_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:219:5: note: (11) entry to ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:233:12: note: (14) following ‘false’ branch (when ‘n_columns_36(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:236:18: note: (15) inlined call to ‘strempty’ from ‘show_cgroup_by_path’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘show_cgroup_by_path’ at ../src/shared/cgroup-show.c:236:18:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c: In function ‘show_cgroup_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:239:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (19) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cgroup-show.c:242:13: note: (20) ‘opendir (fn)’ leaks here; was allocated at (19) <--[csmock-gcc-wrapper]
[240/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bus-unit-util.c.o -c ../src/shared/bus-unit-util.c
[241/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/color-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/color-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/color-util.c.o -c ../src/shared/color-util.c
[242/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/common-signal.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/common-signal.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/common-signal.c.o -c ../src/shared/common-signal.c
[243/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/compare-operator.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/compare-operator.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/compare-operator.c.o -c ../src/shared/compare-operator.c
[244/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/clock-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/clock-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/clock-util.c.o -c ../src/shared/clock-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c: In function ‘clock_get_hwclock’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:26:14: warning: leak of file descriptor ‘*open64 ("/dev/rtc", 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:26:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:26:14: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:26:14: note: (4) ‘*open64 ("/dev/rtc", 524288)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c: In function ‘clock_set_hwclock’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:48:14: warning: leak of file descriptor ‘*open64 ("/dev/rtc", 524288)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:48:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:48:14: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:48:14: note: (4) ‘*open64 ("/dev/rtc", 524288)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c: In function ‘clock_is_localtime’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: warning: leak of FILE ‘*fopen64 (adjtime_path_6, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: note: (2) ‘*fopen64 (adjtime_path_6, "re")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: warning: leak of ‘*fopen64 (adjtime_path_6, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/clock-util.c:69:13: note: (2) ‘*fopen64 (adjtime_path_6, "re")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
[245/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/condition.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/condition.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/condition.c.o -c ../src/shared/condition.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c: In function ‘condition_test_capability’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: warning: leak of FILE ‘*fopen64 ("/proc/self/status", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:17: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:709:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:710:17: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:713:17: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:714:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (9) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (10) ‘*fopen64 ("/proc/self/status", "re")’ leaks here; was opened at (9) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: warning: leak of ‘*fopen64 ("/proc/self/status", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:709:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:710:17: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:713:17: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:714:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/condition.c:720:13: note: (10) ‘*fopen64 ("/proc/self/status", "re")’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[246/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/daemon-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/daemon-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/daemon-util.c.o -c ../src/shared/daemon-util.c
[247/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/coredump-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/coredump-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/coredump-util.c.o -c ../src/shared/coredump-util.c
[248/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/dev-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/dev-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/dev-setup.c.o -c ../src/shared/dev-setup.c
[249/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-util.c.o -c ../src/shared/cryptsetup-util.c
[250/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/device-nodes.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/device-nodes.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/device-nodes.c.o -c ../src/shared/device-nodes.c
[251/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/conf-parser.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/conf-parser.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/conf-parser.c.o -c ../src/shared/conf-parser.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c: In function ‘config_parse’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: warning: leak of FILE ‘*fopen64 (filename_84(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:603:5: note: (1) entry to ‘config_parse_many’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:623:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:624:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (10) calling ‘config_parse_many_files’ from ‘config_parse_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:487:12: note: (11) entry to ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:504:12: note: (12) following ‘false’ branch (when ‘ret_stats_by_path_70(D)’ is NULL)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:9: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:547:40: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:550:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (22) calling ‘config_parse’ from ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:280:5: note: (23) entry to ‘config_parse’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (28) following ‘true’ branch (when ‘f_86(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (30) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (31) ‘*fopen64 (filename_84(D), "re")’ leaks here; was opened at (30) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: warning: leak of ‘*fopen64 (filename_84(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:603:5: note: (1) entry to ‘config_parse_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:623:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:624:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (10) calling ‘config_parse_many_files’ from ‘config_parse_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:487:12: note: (11) entry to ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:504:12: note: (12) following ‘false’ branch (when ‘ret_stats_by_path_70(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:9: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:547:40: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:550:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (22) calling ‘config_parse’ from ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:280:5: note: (23) entry to ‘config_parse’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (28) following ‘true’ branch (when ‘f_86(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (30) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:302:28: note: (31) ‘*fopen64 (filename_84(D), "re")’ leaks here; was allocated at (30) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:356:21: warning: dereference of NULL ‘section’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:603:5: note: (1) entry to ‘config_parse_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:623:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:624:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:627:13: note: (10) calling ‘config_parse_many_files’ from ‘config_parse_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:487:12: note: (11) entry to ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:504:12: note: (12) following ‘true’ branch (when ‘ret_stats_by_path_70(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:88:26: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:506:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:547:40: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:550:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:552:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:21: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:555:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:565:21: note: (24) calling ‘config_parse’ from ‘config_parse_many_files’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:280:5: note: (25) entry to ‘config_parse’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:291:30: note: (26) ‘section’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:291:47: note: (27) ‘section’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:301:12: note: (32) following ‘false’ branch (when ‘f_86(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:321:14: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:333:38: note: (34) ‘section’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:338:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:340:20: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:340:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:346:20: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:346:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:353:21: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:355:21: note: (41) inlined call to ‘skip_leading_chars’ from ‘config_parse’ <--[csmock-gcc-wrapper]
In function ‘skip_leading_chars’,
inlined from ‘config_parse’ at ../src/shared/conf-parser.c:355:21:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:137:12: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c: In function ‘config_parse’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:356:21: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:356:21: note: (44) dereference of NULL ‘_157’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c: In function ‘hashmap_put_stats_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:477:13: warning: leak of ‘strdup (path_20(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:725:5: note: (1) entry to ‘config_get_stats_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:743:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:744:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:748:29: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:751:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:758:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:758:21: note: (14) calling ‘hashmap_put_stats_by_path’ from ‘config_get_stats_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:456:5: note: (15) entry to ‘hashmap_put_stats_by_path’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:134:42: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:466:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:48:31: note: (23) inlined call to ‘memdup_multiply’ from ‘hashmap_put_stats_by_path’ <--[csmock-gcc-wrapper]
In function ‘memdup_multiply’,
inlined from ‘hashmap_put_stats_by_path’ at ../src/shared/conf-parser.c:469:19:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:135:16: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c: In function ‘hashmap_put_stats_by_path’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:470:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:473:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:473:21: note: (27) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:474:12: note: (28) assuming ‘strdup (path_20(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:474:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:477:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:478:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.c:477:13: note: (33) ‘strdup (path_20(D))’ leaks here; was allocated at (27) <--[csmock-gcc-wrapper]
[252/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cpu-set-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cpu-set-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cpu-set-util.c.o -c ../src/shared/cpu-set-util.c
[253/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/data-fd-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/data-fd-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/data-fd-util.c.o -c ../src/shared/data-fd-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c: In function ‘acquire_data_fd_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:59:24: warning: leak of file descriptor ‘*open64 ("/dev/null", 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:54:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:57:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:59:24: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:59:24: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/data-fd-util.c:59:24: note: (6) ‘*open64 ("/dev/null", 524544)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
[254/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/dm-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/dm-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/dm-util.c.o -c ../src/shared/dm-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c: In function ‘dm_deferred_remove_cancel’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:37:14: warning: leak of file descriptor ‘*open64 ("/dev/mapper/control", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:11:5: note: (1) entry to ‘dm_deferred_remove_cancel’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:32:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:32:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:35:9: note: (5) inlined call to ‘strncpy_exact’ from ‘dm_deferred_remove_cancel’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:9: <--[csmock-gcc-wrapper]
In function ‘strncpy_exact’,
inlined from ‘dm_deferred_remove_cancel’ at ../src/shared/dm-util.c:35:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:237:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:237:9: note: (7) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c: In function ‘dm_deferred_remove_cancel’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:37:14: note: (8) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dm-util.c:37:14: note: (9) ‘*open64 ("/dev/mapper/control", 524290)’ leaks here; was opened at (8) <--[csmock-gcc-wrapper]
[255/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/copy.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/copy.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/copy.c.o -c ../src/shared/copy.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:15: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&value]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c: In function ‘copy_xattr’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1610:5: note: (1) entry to ‘copy_xattr’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1615:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:29: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1618:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (6) inlined call to ‘freep’ from ‘copy_xattr’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (7) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c: In function ‘copy_xattr’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1621:20: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1621:65: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (12) inlined call to ‘freep’ from ‘copy_xattr’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (13) second ‘free’ here; first ‘free’ was at (7) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&value]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c: In function ‘copy_xattr’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1610:5: note: (1) entry to ‘copy_xattr’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1615:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1618:24: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (6) inlined call to ‘freep’ from ‘copy_xattr’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (7) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c: In function ‘copy_xattr’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/nulstr-util.h:12:43: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1621:20: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1621:65: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.c:1619:38: note: (12) inlined call to ‘freep’ from ‘copy_xattr’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘copy_xattr’ at ../src/shared/copy.c:1619:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (13) second ‘free’ here; first ‘free’ was at (7) <--[csmock-gcc-wrapper]
[256/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/discover-image.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/discover-image.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/discover-image.c.o -c ../src/shared/discover-image.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c: In function ‘image_update_quota’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:298:28: warning: leak of file descriptor ‘*open64 (i_19(D)->path, 590080)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1424:5: note: (1) entry to ‘image_set_limit’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:15: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:13: note: (4) calling ‘IMAGE_IS_VENDOR’ from ‘image_set_limit’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:22: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:102:20: note: (5) entry to ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:105:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:13: note: (8) returning to ‘image_set_limit’ from ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:35: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:35: note: (11) calling ‘IMAGE_IS_HOST’ from ‘image_set_limit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:108:20: note: (12) entry to ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:111:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:35: note: (15) returning to ‘image_set_limit’ from ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1429:32: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1432:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1432:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1440:40: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1443:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1446:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1446:16: note: (22) calling ‘image_update_quota’ from ‘image_set_limit’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:285:12: note: (23) entry to ‘image_update_quota’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:13: note: (26) calling ‘IMAGE_IS_VENDOR’ from ‘image_update_quota’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:102:20: note: (27) entry to ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:105:17: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:13: note: (30) returning to ‘image_update_quota’ from ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:35: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:35: note: (33) calling ‘IMAGE_IS_HOST’ from ‘image_update_quota’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:108:20: note: (34) entry to ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:111:14: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:35: note: (37) returning to ‘image_update_quota’ from ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:291:32: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:294:14: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:294:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:297:12: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:297:12: note: (42) following ‘true’ branch (when ‘fd_24(D) < 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:298:34: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:298:28: note: (44) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:298:28: note: (45) ‘*open64 (i_19(D)->path, 590080)’ leaks here; was opened at (44) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c: In function ‘image_read_only’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1297:22: warning: leak of file descriptor ‘*open64 (i_52(D)->path, 526592)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1233:5: note: (1) entry to ‘image_read_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:13: note: (4) calling ‘IMAGE_IS_VENDOR’ from ‘image_read_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:102:20: note: (5) entry to ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:105:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:13: note: (8) returning to ‘image_read_only’ from ‘IMAGE_IS_VENDOR’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:35: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:35: note: (11) calling ‘IMAGE_IS_HOST’ from ‘image_read_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:108:20: note: (12) entry to ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.h:111:14: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:35: note: (15) returning to ‘image_read_only’ from ‘IMAGE_IS_HOST’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1239:32: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1243:30: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1243:13: note: (18) calling ‘image_path_lock’ from ‘image_read_only’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1325:5: note: (19) entry to ‘image_path_lock’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1345:14: note: (23) inlined call to ‘path_is_absolute’ from ‘image_path_lock’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:21: <--[csmock-gcc-wrapper]
In function ‘path_is_absolute’,
inlined from ‘image_path_lock’ at ../src/shared/discover-image.c:1345:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:46:17: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c: In function ‘image_read_only’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1345:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1348:27: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1348:9: note: (27) following ‘case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1352:9: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1361:20: note: (29) following ‘true’ branch (when ‘ret_global_47(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1362:37: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1243:13: note: (31) returning to ‘image_read_only’ from ‘image_path_lock’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1244:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1247:18: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1247:9: note: (34) following ‘case 3:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1292:9: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1297:22: note: (36) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/discover-image.c:1297:22: note: (37) ‘*open64 (i_52(D)->path, 526592)’ leaks here; was opened at (36) <--[csmock-gcc-wrapper]
[257/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/dropin.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/dropin.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/dropin.c.o -c ../src/shared/dropin.c
[258/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-loader.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-loader.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-loader.c.o -c ../src/shared/efi-loader.c
[259/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/dns-domain.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/dns-domain.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/dns-domain.c.o -c ../src/shared/dns-domain.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c: In function ‘dns_label_unescape_suffix’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:170:33: warning: dereference of NULL ‘terminal_18’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:689:5: note: (1) entry to ‘dns_name_between.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:701:24: note: (2) calling ‘dns_name_compare_func’ from ‘dns_name_between.part.0’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:499:5: note: (3) entry to ‘dns_name_compare_func’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:506:17: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:512:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:515:21: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:515:21: note: (10) calling ‘dns_label_unescape_suffix’ from ‘dns_name_compare_func’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:148:5: note: (11) entry to ‘dns_label_unescape_suffix’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:157:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:157:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:165:23: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (20) following ‘case 0:, case 46:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:168:12: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:168:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:377:45: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:377:45: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:170:12: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:170:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:170:33: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dns-domain.c:170:33: note: (28) dereference of NULL ‘terminal_18’ <--[csmock-gcc-wrapper]
[260/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-api.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-api.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/efi-api.c.o -c ../src/shared/efi-api.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c: In function ‘efi_get_reboot_to_firmware’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:159:16: warning: use of uninitialized value ‘b’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:151:5: note: (1) entry to ‘efi_get_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:153:18: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:153:18: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:155:13: note: (4) calling ‘get_os_indications’ from ‘efi_get_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:101:12: note: (5) entry to ‘get_os_indications’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:112:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:118:20: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:119:32: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:155:13: note: (10) returning to ‘efi_get_reboot_to_firmware’ from ‘get_os_indications’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:156:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:159:16: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:159:16: note: (13) use of uninitialized value ‘b’ here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c: In function ‘efi_set_reboot_to_firmware’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:24: warning: use of uninitialized value ‘b’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:162:5: note: (1) entry to ‘efi_set_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:164:18: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:164:18: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:166:13: note: (4) calling ‘get_os_indications’ from ‘efi_set_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:101:12: note: (5) entry to ‘get_os_indications’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:112:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:118:20: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:119:32: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:166:13: note: (10) returning to ‘efi_set_reboot_to_firmware’ from ‘get_os_indications’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:167:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:34: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:34: note: (13) following ‘true’ branch (when ‘value_14(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:24: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:24: note: (15) use of uninitialized value ‘b’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:44: warning: use of uninitialized value ‘b’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:162:5: note: (1) entry to ‘efi_set_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:164:18: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:164:18: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:166:13: note: (4) calling ‘get_os_indications’ from ‘efi_set_reboot_to_firmware’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:101:12: note: (5) entry to ‘get_os_indications’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:112:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:118:20: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:119:32: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:166:13: note: (10) returning to ‘efi_set_reboot_to_firmware’ from ‘get_os_indications’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:167:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:34: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:34: note: (13) following ‘false’ branch (when ‘value_14(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:44: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:478:44: note: (15) use of uninitialized value ‘b’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c: In function ‘efi_get_boot_options’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:450:15: warning: leak of ‘opendir ("/sys/firmware/efi/efivars/.")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:447:14: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:447:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:450:15: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:450:15: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/efi-api.c:450:15: note: (6) ‘opendir ("/sys/firmware/efi/efivars/.")’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
[261/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/edit-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/edit-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/edit-util.c.o -c ../src/shared/edit-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:6: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&comment]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:367:5: note: (1) entry to ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:378:21: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:379:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:383:23: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:272:54: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:270:9: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:273:33: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (14) calling ‘create_edit_temp_file’ from ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:190:12: note: (15) entry to ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:196:17: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:197:17: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:198:18: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:199:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:14: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:204:13: note: (27) inlined call to ‘mkdir_parents_label’ from ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:12: <--[csmock-gcc-wrapper]
In function ‘mkdir_parents_label’,
inlined from ‘create_edit_temp_file’ at ../src/shared/edit-util.c:204:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mkdir-label.h:21:16: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:205:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:208:45: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:209:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:13: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:14: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:220:21: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:220:21: note: (37) calling ‘populate_edit_temp_file’ from ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:112:12: note: (38) entry to ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:117:30: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:131:12: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:132:38: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:134:20: note: (47) following ‘false’ branch (when ‘source_39’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:151:26: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:140:17: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (50) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:140:17: note: (51) inlined call to ‘strempty’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:7: <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:140:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘populate_edit_temp_file’:
cc1: note: (53) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (56) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (58) inlined call to ‘freep’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (59) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (62) inlined call to ‘freep’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (63) second ‘free’ here; first ‘free’ was at (59) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&comment]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:367:5: note: (1) entry to ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:378:21: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:379:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:383:23: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:272:54: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:270:9: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:273:33: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (14) calling ‘create_edit_temp_file’ from ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:190:12: note: (15) entry to ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:196:17: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:197:17: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:198:18: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:199:16: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:14: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:204:13: note: (27) inlined call to ‘mkdir_parents_label’ from ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘mkdir_parents_label’,
inlined from ‘create_edit_temp_file’ at ../src/shared/edit-util.c:204:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mkdir-label.h:21:16: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:205:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:208:45: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:209:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:13: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:14: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:220:21: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:220:21: note: (37) calling ‘populate_edit_temp_file’ from ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:112:12: note: (38) entry to ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:117:30: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:125:17: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:131:14: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:131:12: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:132:38: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:134:20: note: (49) following ‘false’ branch (when ‘source_39’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:151:26: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:140:17: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (52) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:140:17: note: (53) inlined call to ‘strempty’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:140:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘populate_edit_temp_file’:
cc1: note: (55) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (56) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (58) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (59) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (60) inlined call to ‘freep’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (61) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘populate_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (62) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:159:28: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:156:46: note: (66) inlined call to ‘freep’ from ‘populate_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘populate_edit_temp_file’ at ../src/shared/edit-util.c:156:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (67) second ‘free’ here; first ‘free’ was at (61) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘create_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:216:21: warning: use of NULL ‘contents_78(D)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:367:5: note: (1) entry to ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:368:30: note: (2) ‘data’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:20: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:374:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:20: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:377:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:383:23: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:272:54: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (11) ‘data’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:384:21: note: (12) calling ‘create_edit_temp_file’ from ‘do_edit_files_and_install’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:190:12: note: (13) entry to ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:191:43: note: (14) ‘temp’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:196:17: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:197:17: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:198:18: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:14: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:201:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:204:13: note: (24) inlined call to ‘mkdir_parents_label’ from ‘create_edit_temp_file’ <--[csmock-gcc-wrapper]
In function ‘mkdir_parents_label’,
inlined from ‘create_edit_temp_file’ at ../src/shared/edit-util.c:204:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mkdir-label.h:21:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c: In function ‘create_edit_temp_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:205:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:208:45: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:209:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:212:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:14: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:215:12: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:216:21: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:216:21: note: (34) argument 1 (‘contents_78(D)’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/edit-util.c:4: <--[csmock-gcc-wrapper]
/usr/include/stdio.h:735:15: note: argument 1 of ‘fwrite’ must be non-null <--[csmock-gcc-wrapper]
[262/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/enable-mempool.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/enable-mempool.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/enable-mempool.c.o -c ../src/shared/enable-mempool.c
[263/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/env-file-label.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/env-file-label.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/env-file-label.c.o -c ../src/shared/env-file-label.c
[264/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/creds-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/creds-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/creds-util.c.o -c ../src/shared/creds-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:9: <--[csmock-gcc-wrapper]
In function ‘sd_id128_in_setv’,
inlined from ‘sd_id128_in_set_sentinel’ at ../src/systemd/sd-id128.h:154:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:139:28: warning: ‘ap’ has no more arguments (0 consumed) [CWE-685] [-Wanalyzer-va-list-exhausted] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c: In function ‘sd_id128_in_set_sentinel’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:787:5: note: (1) entry to ‘encrypt_credential_and_warn’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:134:43: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:161:9: note: (4) calling ‘sd_id128_in_set_sentinel’ from ‘encrypt_credential_and_warn’ with 13 variadic arguments <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:149:33: note: (5) entry to ‘sd_id128_in_set_sentinel’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:154:13: note: (6) inlined call to ‘sd_id128_in_setv’ from ‘sd_id128_in_set_sentinel’ <--[csmock-gcc-wrapper]
In function ‘sd_id128_in_setv’,
inlined from ‘sd_id128_in_set_sentinel’ at ../src/systemd/sd-id128.h:154:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:139:28: note: (7) ‘ap’ has no more arguments (0 consumed) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:139:28: warning: ‘ap’ has no more arguments (0 consumed) [CWE-685] [-Wanalyzer-va-list-exhausted] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c: In function ‘sd_id128_in_set_sentinel’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1176:5: note: (1) entry to ‘decrypt_credential_and_warn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1200:11: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1203:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:134:43: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:161:9: note: (6) calling ‘sd_id128_in_set_sentinel’ from ‘decrypt_credential_and_warn’ with 7 variadic arguments <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:149:33: note: (7) entry to ‘sd_id128_in_set_sentinel’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:154:13: note: (8) inlined call to ‘sd_id128_in_setv’ from ‘sd_id128_in_set_sentinel’ <--[csmock-gcc-wrapper]
In function ‘sd_id128_in_setv’,
inlined from ‘sd_id128_in_set_sentinel’ at ../src/systemd/sd-id128.h:154:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:139:28: note: (9) ‘ap’ has no more arguments (0 consumed) <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c: In function ‘pick_up_credentials’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: leak of file descriptor ‘open_credentials_dir ()’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1706:5: note: (1) entry to ‘pick_up_credentials’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1713:29: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1713:29: note: (6) calling ‘open_credentials_dir’ from ‘pick_up_credentials’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:108:5: note: (7) entry to ‘open_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:112:13: note: (8) calling ‘get_credentials_dir’ from ‘open_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:100:5: note: (9) entry to ‘get_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:101:16: note: (10) calling ‘get_credentials_dir_internal’ from ‘get_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:84:12: note: (11) entry to ‘get_credentials_dir_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:89:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:90:12: note: (14) following ‘false’ branch (when ‘e_10’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:93:14: note: (15) inlined call to ‘path_is_absolute’ from ‘get_credentials_dir_internal’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:28: <--[csmock-gcc-wrapper]
In function ‘path_is_absolute’,
inlined from ‘get_credentials_dir_internal’ at ../src/shared/creds-util.c:93:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:46:17: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c: In function ‘pick_up_credentials’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:93:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:96:14: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:101:16: note: (19) returning to ‘get_credentials_dir’ from ‘get_credentials_dir_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:112:13: note: (20) returning to ‘open_credentials_dir’ from ‘get_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:113:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:116:16: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:116:16: note: (23) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:116:16: note: (24) inlined call to ‘RET_NERRNO’ from ‘open_credentials_dir’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:14, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:22: <--[csmock-gcc-wrapper]
In function ‘RET_NERRNO’,
inlined from ‘open_credentials_dir’ at ../src/shared/creds-util.c:116:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:71:12: note: (25) assuming ‘*open64 (d, 589824)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:71:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c: In function ‘pick_up_credentials’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:114:24: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.c:1713:29: note: (28) returning to ‘pick_up_credentials’ from ‘open_credentials_dir’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ‘open_credentials_dir ()’ leaks here; was opened at (23) <--[csmock-gcc-wrapper]
[265/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ethtool-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ethtool-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ethtool-util.c.o -c ../src/shared/ethtool-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_wol’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:379:1: warning: leak of ‘str’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:312:5: note: (1) entry to ‘ethtool_set_wol’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/conf-parser.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:330:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:330:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:334:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:334:13: note: (8) calling ‘ethtool_connect’ from ‘ethtool_set_wol’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:161:12: note: (9) entry to ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:167:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:334:13: note: (12) returning to ‘ethtool_set_wol’ from ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:335:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:338:9: note: (14) inlined call to ‘strscpy’ from ‘ethtool_set_wol’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:18: <--[csmock-gcc-wrapper]
In function ‘strscpy’,
inlined from ‘ethtool_set_wol’ at ../src/shared/ethtool-util.c:338:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strxcpyx.h:29:16: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_wol’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:342:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:345:12: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:353:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:354:38: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:356:24: note: (20) calling ‘wol_options_to_string_alloc’ from ‘ethtool_set_wol’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:41:5: note: (21) entry to ‘wol_options_to_string_alloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:46:12: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:46:12: note: (24) following ‘false’ branch (when ‘opts_19(D) != 4294967295’)... <--[csmock-gcc-wrapper]
cc1: note: (25) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:51:30: note: (26) following ‘true’ branch (when ‘i_9 != 7’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:52:45: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:56:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:57:23: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:57:23: note: (30) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:58:20: note: (31) assuming ‘str’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:58:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:378:22: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:356:24: note: (34) returning to ‘ethtool_set_wol’ from ‘wol_options_to_string_alloc’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:360:32: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:379:1: note: (37) ‘str’ leaks here; was allocated at (30) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_features’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:622:13: warning: dereference of NULL ‘strings’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:593:5: note: (1) entry to ‘ethtool_set_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:594:49: note: (2) ‘strings’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (6) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:605:30: note: (7) following ‘true’ branch (when ‘i_44 != 63’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:606:29: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:611:12: note: (9) following ‘true’ branch (when ‘have_43 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:614:13: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:614:13: note: (11) calling ‘ethtool_connect’ from ‘ethtool_set_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:161:12: note: (12) entry to ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:167:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:614:13: note: (15) returning to ‘ethtool_set_features’ from ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:615:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:618:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:618:13: note: (18) calling ‘get_stringset’ from ‘ethtool_set_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:429:12: note: (19) entry to ‘get_stringset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:447:9: note: (25) inlined call to ‘strscpy’ from ‘get_stringset’ <--[csmock-gcc-wrapper]
In function ‘strscpy’,
inlined from ‘get_stringset’ at ../src/shared/ethtool-util.c:447:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strxcpyx.h:29:16: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_features’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:618:13: note: (27) returning to ‘ethtool_set_features’ from ‘get_stringset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:619:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:622:54: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:622:54: note: (30) ‘strings’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:622:13: note: (31) dereference of NULL ‘strings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_glinksettings’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:894:17: warning: dereference of NULL ‘0B’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:821:5: note: (1) entry to ‘ethtool_set_glinksettings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:831:55: note: (2) ‘u’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:840:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:850:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:862:13: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:862:13: note: (9) calling ‘ethtool_connect’ from ‘ethtool_set_glinksettings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:161:12: note: (10) entry to ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:167:13: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:862:13: note: (13) returning to ‘ethtool_set_glinksettings’ from ‘ethtool_connect’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:863:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:866:9: note: (15) inlined call to ‘strscpy’ from ‘ethtool_set_glinksettings’ <--[csmock-gcc-wrapper]
In function ‘strscpy’,
inlined from ‘ethtool_set_glinksettings’ at ../src/shared/ethtool-util.c:866:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strxcpyx.h:29:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c: In function ‘ethtool_set_glinksettings’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:868:13: note: (17) calling ‘get_glinksettings’ from ‘ethtool_set_glinksettings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:657:12: note: (18) entry to ‘get_glinksettings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:679:23: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:868:13: note: (25) returning to ‘ethtool_set_glinksettings’ from ‘get_glinksettings’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:875:12: note: (26) following ‘false’ branch (when ‘speed_56 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:878:12: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:878:12: note: (28) following ‘false’ branch (when ‘duplex_57 < 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:881:12: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:881:12: note: (30) following ‘false’ branch (when ‘port_58 < 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:884:12: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:884:12: note: (32) following ‘false’ branch (when ‘autonegotiation_55 < 0’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:57:33: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:887:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:888:25: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:888:25: note: (36) ‘u’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/ethtool-util.c:894:17: note: (37) dereference of NULL ‘u’ <--[csmock-gcc-wrapper]
[266/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/exec-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/exec-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/exec-util.c.o -c ../src/shared/exec-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:17: <--[csmock-gcc-wrapper]
In function ‘safe_close_above_stdio’,
inlined from ‘fork_agent’ at ../src/shared/exec-util.c:604:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:30:12: warning: leak of file descriptor ‘*open64 ("/dev/tty", 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘fork_agent’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:549:5: note: (1) entry to ‘fork_agent’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:560:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:566:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (8) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:574:25: note: (9) when ‘isatty’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:576:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (12) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (13) assuming ‘*open64 ("/dev/tty", 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:47: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:44: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:604:30: note: (21) inlined call to ‘safe_close_above_stdio’ from ‘fork_agent’ <--[csmock-gcc-wrapper]
In function ‘safe_close_above_stdio’,
inlined from ‘fork_agent’ at ../src/shared/exec-util.c:604:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:30:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:30:12: note: (23) ‘*open64 ("/dev/tty", 1)’ leaks here; was opened at (12) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:182:29: warning: use of uninitialized value ‘pid’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:299:5: note: (1) entry to ‘execute_directories’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:312:17: note: (2) inlined call to ‘strv_isempty’ from ‘execute_directories’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:22: <--[csmock-gcc-wrapper]
In function ‘strv_isempty’,
inlined from ‘execute_directories’ at ../src/shared/exec-util.c:312:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:106:19: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:314:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:315:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:318:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:318:13: note: (7) inlined call to ‘strv_isempty’ from ‘execute_directories’ <--[csmock-gcc-wrapper]
In function ‘strv_isempty’,
inlined from ‘execute_directories’ at ../src/shared/exec-util.c:318:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:106:19: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:323:12: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:323:12: note: (10) following ‘true’ branch (when ‘callbacks_28(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:324:21: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:325:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:329:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:329:16: note: (14) calling ‘execute_strv’ from ‘execute_directories’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:237:5: note: (15) entry to ‘execute_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:254:13: note: (17) inlined call to ‘strv_isempty’ from ‘execute_strv’ <--[csmock-gcc-wrapper]
In function ‘strv_isempty’,
inlined from ‘execute_strv’ at ../src/shared/exec-util.c:254:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:106:19: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:106:19: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:257:12: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:257:12: note: (21) following ‘true’ branch (when ‘callbacks_56(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:260:33: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:261:33: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:262:33: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:264:22: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:265:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:273:13: note: (34) inlined call to ‘safe_fork’ from ‘execute_strv’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:23: <--[csmock-gcc-wrapper]
In function ‘safe_fork’,
inlined from ‘execute_strv’ at ../src/shared/exec-util.c:273:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:200:16: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:274:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:276:12: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:276:12: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:277:21: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:277:21: note: (40) calling ‘do_execute’ from ‘execute_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:90:12: note: (41) entry to ‘do_execute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:132:23: note: (42) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:132:23: note: (43) capacity: 4 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/escape.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:15: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:132:23: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:135:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:138:20: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:138:20: note: (48) following ‘true’ branch (when ‘callbacks_117(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:139:46: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:142:28: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:145:30: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:146:28: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:139:46: note: (53) inlined call to ‘freep’ from ‘do_execute’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘do_execute’ at ../src/shared/exec-util.c:139:46:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:170:21: note: (55) calling ‘do_spawn’ from ‘do_execute’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:39:12: note: (56) entry to ‘do_spawn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:51:13: note: (60) inlined call to ‘null_or_empty_path’ from ‘do_spawn’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9: <--[csmock-gcc-wrapper]
In function ‘null_or_empty_path’,
inlined from ‘do_spawn’ at ../src/shared/exec-util.c:51:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:45:16: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘do_execute’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:59:85: note: (62) following ‘true’ branch (when ‘stdout_fd_23(D) >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:59:39: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:63:12: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:53:24: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:170:21: note: (66) returning to ‘do_execute’ from ‘do_spawn’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:171:20: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:174:20: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:174:20: note: (69) following ‘false’ branch (when ‘parallel_execution_148 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:182:29: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:182:29: note: (71) use of uninitialized value ‘pid’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c: In function ‘fork_agent’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:44: warning: leak of file descriptor ‘dup2 (*open64 ("/dev/tty", 1), 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:560:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:566:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (7) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:574:25: note: (8) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:576:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:47: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:47: note: (15) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:44: note: (16) ‘dup2 (*open64 ("/dev/tty", 1), 1)’ leaks here; was opened at (15) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:44: warning: leak of file descriptor ‘*open64 ("/dev/tty", 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:560:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:566:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (7) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:574:25: note: (8) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:576:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (11) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (12) assuming ‘*open64 ("/dev/tty", 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:47: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:44: note: (17) ‘*open64 ("/dev/tty", 1)’ leaks here; was opened at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:44: warning: leak of file descriptor ‘*open64 ("/dev/tty", 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:560:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:566:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (7) when ‘isatty’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:574:25: note: (8) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:576:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (11) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (12) assuming ‘*open64 ("/dev/tty", 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:47: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:44: note: (19) ‘*open64 ("/dev/tty", 1)’ leaks here; was opened at (11) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:44: warning: leak of file descriptor ‘dup2 (*open64 ("/dev/tty", 1), 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:560:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:566:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:568:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:573:25: note: (7) when ‘isatty’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:574:25: note: (8) when ‘isatty’ fails <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:576:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:583:22: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:584:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:594:28: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:28: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:47: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:47: note: (17) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/exec-util.c:599:44: note: (18) ‘dup2 (*open64 ("/dev/tty", 1), 2)’ leaks here; was opened at (17) <--[csmock-gcc-wrapper]
[267/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/elf-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/elf-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/elf-util.c.o -c ../src/shared/elf-util.c
[268/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/exit-status.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/exit-status.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/exit-status.c.o -c ../src/shared/exit-status.c
[269/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/extension-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/extension-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/extension-util.c.o -c ../src/shared/extension-util.c
[270/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/fileio-label.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/fileio-label.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/fileio-label.c.o -c ../src/shared/fileio-label.c
[271/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/find-esp.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/find-esp.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/find-esp.c.o -c ../src/shared/find-esp.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/find-esp.c: In function ‘find_xbootldr_and_warn’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/find-esp.c:890:15: warning: leak of file descriptor ‘*open64 (_38, 2686976)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/find-esp.c:890:15: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/find-esp.c:890:15: note: (2) ‘*open64 (_38, 2686976)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
[272/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/fdset.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/fdset.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/fdset.c.o -c ../src/shared/fdset.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:10: <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: warning: leak of ‘malloc_multiply ((long unsigned int) fdset_size (fds_25(D)), 4)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c: In function ‘fdset_to_array’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:260:5: note: (1) entry to ‘fdset_to_array’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:267:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:268:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:270:12: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:270:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (8) calling ‘malloc_multiply’ from ‘fdset_to_array’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:115:44: note: (9) entry to ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (10) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:9: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:45: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:9: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h: In function ‘fdset_to_array’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:28: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (15) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (16) returning to ‘fdset_to_array’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:276:12: note: (17) assuming ‘malloc_multiply ((long unsigned int) fdset_size (fds_25(D)), 4)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:276:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:116:13: note: (20) inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’ <--[csmock-gcc-wrapper]
In function ‘size_multiply_overflow’,
inlined from ‘malloc_multiply’ at ../src/basic/alloc-util.h:116:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:112:32: note: (21) ‘malloc_multiply ((long unsigned int) fdset_size (fds_25(D)), 4)’ leaks here; was allocated at (15) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c: In function ‘fdset_new_fill’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:164:13: warning: leak of ‘opendir ("/proc/self/fd")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:164:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:164:13: note: (3) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fdset.c:164:13: note: (4) ‘opendir ("/proc/self/fd")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper]
[273/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/geneve-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/geneve-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/geneve-util.c.o -c ../src/shared/geneve-util.c
[274/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util.c.o -c ../src/shared/firewall-util.c
[275/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/gpt.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/gpt.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/gpt.c.o -c ../src/shared/gpt.c
[276/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/fstab-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/fstab-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/fstab-util.c.o -c ../src/shared/fstab-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c: In function ‘tag_to_udev_node’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: leak of ‘unquote (tagvalue_8(D), "\"\'")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:330:14: note: (1) entry to ‘tag_to_udev_node’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:334:13: note: (2) calling ‘unquote’ from ‘tag_to_udev_node’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:310:14: note: (3) entry to ‘unquote’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:320:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:321:12: note: (6) following ‘false’ branch (when ‘l_16 > 1’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:324:29: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:324:13: note: (8) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:324:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:325:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:325:24: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/fstab-util.c:334:13: note: (12) returning to ‘tag_to_udev_node’ from ‘unquote’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ‘unquote (tagvalue_8(D), "\"\'")’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
[277/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/hostname-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/hostname-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/hostname-setup.c.o -c ../src/shared/hostname-setup.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c: In function ‘read_etc_hostname’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: warning: leak of FILE ‘*fopen64 (path_6, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:132:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: note: (4) ‘*fopen64 (path_6, "re")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: warning: leak of ‘*fopen64 (path_6, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:132:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hostname-setup.c:135:13: note: (4) ‘*fopen64 (path_6, "re")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper]
[278/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/group-record.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/group-record.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/group-record.c.o -c ../src/shared/group-record.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c: In function ‘group_record_clone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: warning: leak of ‘group_record_new ()’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:310:5: note: (1) entry to ‘group_record_clone’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/ether-addr-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:317:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:317:13: note: (6) calling ‘group_record_new’ from ‘group_record_clone’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:8:14: note: (7) entry to ‘group_record_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (8) inlined call to ‘malloc_multiply’ from ‘group_record_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘group_record_new’ at ../src/shared/group-record.c:11:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c: In function ‘group_record_clone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:12:12: note: (10) assuming ‘malloc (112)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:12:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:317:13: note: (13) returning to ‘group_record_clone’ from ‘group_record_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: note: (14) ‘group_record_new ()’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c: In function ‘group_record_build’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: warning: leak of ‘group_record_new ()’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:242:5: note: (1) entry to ‘group_record_build’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:250:9: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:254:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:257:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:257:13: note: (6) calling ‘group_record_new’ from ‘group_record_build’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:8:14: note: (7) entry to ‘group_record_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (8) inlined call to ‘malloc_multiply’ from ‘group_record_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘group_record_new’ at ../src/shared/group-record.c:11:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c: In function ‘group_record_build’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:12:12: note: (10) assuming ‘malloc (112)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:12:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:257:13: note: (13) returning to ‘group_record_build’ from ‘group_record_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/group-record.c:15:12: note: (14) ‘group_record_new ()’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[279/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/id128-print.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/id128-print.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/id128-print.c.o -c ../src/shared/id128-print.c
[280/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util-nft.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util-nft.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/firewall-util-nft.c.o -c ../src/shared/firewall-util-nft.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:16: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c: In function ‘nft_set_add’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:39: warning: leak of ‘strdup (set_34(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1229:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1233:21: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1234:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1237:19: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1237:19: note: (13) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1238:12: note: (14) assuming ‘strdup (set_34(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1238:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:39: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1244:10: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:39: note: (19) ‘strdup (set_34(D))’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1244:30: warning: leak of ‘strdup (table_33(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1229:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1233:21: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1233:21: note: (11) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1234:12: note: (12) assuming ‘strdup (table_33(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1234:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1237:19: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1238:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:39: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1241:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1244:10: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/firewall-util-nft.c:1244:30: note: (19) ‘strdup (table_33(D))’ leaks here; was allocated at (11) <--[csmock-gcc-wrapper]
[281/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/hwdb-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/hwdb-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/hwdb-util.c.o -c ../src/shared/hwdb-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c: In function ‘trie_store_nodes’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:320:29: warning: dereference of NULL ‘children_101’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:579:5: note: (1) entry to ‘hwdb_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:592:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:25:26: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:596:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:600:25: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:601:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:25:26: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:606:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:609:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:612:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:615:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:615:13: note: (12) inlined call to ‘strv_isempty’ from ‘hwdb_update’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:18: <--[csmock-gcc-wrapper]
In function ‘strv_isempty’,
inlined from ‘hwdb_update’ at ../src/shared/hwdb-util.c:615:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:106:19: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘trie_store_nodes’:
cc1: note: (14) ...to here
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-hwdb/hwdb-internal.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:629:23: note: (17) calling ‘import_file’ from ‘hwdb_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:461:12: note: (18) entry to ‘import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:473:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (20) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:482:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:484:20: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:484:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:487:28: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:494:23: note: (25) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:495:20: note: (26) following ‘true’ branch (when ‘pos_62’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:496:32: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:504:17: note: (28) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:505:17: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:629:23: note: (30) returning to ‘hwdb_update’ from ‘import_file’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:650:16: note: (32) inlined call to ‘mkdir_parents_label’ from ‘hwdb_update’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:16: <--[csmock-gcc-wrapper]
In function ‘mkdir_parents_label’,
inlined from ‘hwdb_update’ at ../src/shared/hwdb-util.c:650:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mkdir-label.h:21:16: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c: In function ‘trie_store_nodes’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:651:15: note: (34) calling ‘trie_store’ from ‘hwdb_update’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:360:12: note: (35) entry to ‘trie_store’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:374:9: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:377:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:380:13: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:380:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:383:30: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:393:12: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:396:20: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:396:20: note: (46) calling ‘trie_store_nodes’ from ‘trie_store’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:298:16: note: (47) entry to ‘trie_store_nodes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:306:17: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:306:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:313:9: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:313:32: note: (56) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:316:29: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:316:29: note: (58) calling ‘trie_store_nodes’ from ‘trie_store_nodes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:298:16: note: (59) entry to ‘trie_store_nodes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (61) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (63) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:306:17: note: (65) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:338:12: note: (66) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (67) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:316:29: note: (68) returning to ‘trie_store_nodes’ from ‘trie_store_nodes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:317:20: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:320:25: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:320:25: note: (71) ‘children_101’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:320:29: note: (72) dereference of NULL ‘children_101 + i_51 * 16’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c: In function ‘import_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: warning: leak of FILE ‘*fopen64 (filename_53(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: note: (1) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: note: (2) ‘*fopen64 (filename_53(D), "re")’ leaks here; was opened at (1) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: warning: leak of ‘*fopen64 (filename_53(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: note: (1) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hwdb-util.c:472:13: note: (2) ‘*fopen64 (filename_53(D), "re")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper]
[282/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/generator.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/generator.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/generator.c.o -c ../src/shared/generator.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘write_fsck_sysroot_service’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:237:9: warning: use of NULL ‘f’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:202:12: note: (1) entry to ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:209:32: note: (2) ‘f’ is NULL <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:221:19: note: (8) inlined call to ‘specifier_escape’ from ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:22: <--[csmock-gcc-wrapper]
In function ‘specifier_escape’,
inlined from ‘write_fsck_sysroot_service’ at ../src/shared/generator.c:221:19:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/specifier.h:102:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘write_fsck_sysroot_service’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:222:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:225:20: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:226:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:229:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:230:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:233:13: note: (15) inlined call to ‘generator_open_unit_file’ from ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:13: <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘write_fsck_sysroot_service’ at ../src/shared/generator.c:233:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (17) calling ‘generator_open_unit_file_full’ from ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘write_fsck_sysroot_service’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:28:5: note: (18) entry to ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (23) following ‘false’ branch (when ‘ret_temp_path_44(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:19: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:233:13: note: (27) inlined call to ‘generator_open_unit_file’ from ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘write_fsck_sysroot_service’ at ../src/shared/generator.c:233:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (28) returning to ‘write_fsck_sysroot_service’ from ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘write_fsck_sysroot_service’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:234:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:257:17: note: (30) inlined call to ‘isempty’ from ‘write_fsck_sysroot_service’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:14, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:7: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘write_fsck_sysroot_service’ at ../src/shared/generator.c:257:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘write_fsck_sysroot_service’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:237:9: note: (32) ‘f’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:237:9: note: (33) argument 1 (‘f’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /usr/include/malloc.h:25, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:5: <--[csmock-gcc-wrapper]
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkswap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:524:9: warning: use of NULL ‘f’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:485:5: note: (1) entry to ‘generator_hook_up_mkswap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:490:32: note: (2) ‘f’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:496:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:497:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:501:14: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:501:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:506:13: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:507:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:511:19: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:515:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:516:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:520:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:520:13: note: (17) inlined call to ‘generator_open_unit_file’ from ‘generator_hook_up_mkswap’ <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘generator_hook_up_mkswap’ at ../src/shared/generator.c:520:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (18) calling ‘generator_open_unit_file_full’ from ‘generator_hook_up_mkswap’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkswap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:28:5: note: (19) entry to ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (24) following ‘false’ branch (when ‘ret_temp_path_44(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:520:13: note: (28) inlined call to ‘generator_open_unit_file’ from ‘generator_hook_up_mkswap’ <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘generator_hook_up_mkswap’ at ../src/shared/generator.c:520:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (29) returning to ‘generator_hook_up_mkswap’ from ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkswap’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:521:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:524:9: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:524:9: note: (32) ‘f’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:524:9: note: (33) argument 1 (‘f’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkfs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:606:9: warning: use of NULL ‘f’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:551:5: note: (1) entry to ‘generator_hook_up_mkfs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:558:32: note: (2) ‘f’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:566:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:567:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:571:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:571:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:576:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:576:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:581:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:582:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:586:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:594:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:597:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:598:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:602:13: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:602:13: note: (21) inlined call to ‘generator_open_unit_file’ from ‘generator_hook_up_mkfs’ <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘generator_hook_up_mkfs’ at ../src/shared/generator.c:602:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (22) calling ‘generator_open_unit_file_full’ from ‘generator_hook_up_mkfs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkfs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:28:5: note: (23) entry to ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:46:12: note: (28) following ‘false’ branch (when ‘ret_temp_path_44(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:77:24: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:602:13: note: (32) inlined call to ‘generator_open_unit_file’ from ‘generator_hook_up_mkfs’ <--[csmock-gcc-wrapper]
In function ‘generator_open_unit_file’,
inlined from ‘generator_hook_up_mkfs’ at ../src/shared/generator.c:602:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.h:12:16: note: (33) returning to ‘generator_hook_up_mkfs’ from ‘generator_open_unit_file_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c: In function ‘generator_hook_up_mkfs’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:603:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:606:9: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:606:9: note: (36) ‘f’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/generator.c:606:9: note: (37) argument 1 (‘f’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null <--[csmock-gcc-wrapper]
[283/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/hibernate-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/hibernate-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/hibernate-util.c.o -c ../src/shared/hibernate-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘swap_entry_get_resume_config’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:215:14: warning: leak of file descriptor ‘*open64 (swap_44(D)->path, 526592)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:446:5: note: (1) entry to ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:454:13: note: (2) calling ‘find_suitable_hibernation_device_full’ from ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:344:5: note: (3) entry to ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (6) calling ‘read_resume_config’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:124:12: note: (7) entry to ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:133:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:134:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:140:13: note: (15) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:21: <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:140:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘swap_entry_get_resume_config’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:141:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:144:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:145:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:148:13: note: (20) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:148:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘swap_entry_get_resume_config’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (22) returning to ‘find_suitable_hibernation_device_full’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:354:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (25) calling ‘read_swap_entries’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:260:12: note: (26) entry to ‘read_swap_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:267:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:271:16: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:286:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:288:20: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:288:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/blockdev-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:26:21: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:316:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:378:22: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:261:50: note: (37) calling ‘swap_entries_done’ from ‘read_swap_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:197:13: note: (38) entry to ‘swap_entries_done’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:200:23: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:273:33: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:203:21: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:261:50: note: (43) returning to ‘read_swap_entries’ from ‘swap_entries_done’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (44) returning to ‘find_suitable_hibernation_device_full’ from ‘read_swap_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:358:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:360:20: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:360:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:363:23: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:272:54: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:364:21: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:364:21: note: (51) calling ‘swap_entry_get_resume_config’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:206:12: note: (52) entry to ‘swap_entry_get_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:213:20: note: (54) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:215:14: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:215:14: note: (57) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:215:14: note: (58) ‘*open64 (swap_44(D)->path, 526592)’ leaks here; was opened at (57) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘read_swap_entries’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: warning: leak of FILE ‘*fopen64 ("/proc/swaps", "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:446:5: note: (1) entry to ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:454:13: note: (2) calling ‘find_suitable_hibernation_device_full’ from ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:344:5: note: (3) entry to ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (6) calling ‘read_resume_config’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:124:12: note: (7) entry to ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:133:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:134:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:140:13: note: (15) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:140:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘read_swap_entries’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:141:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:144:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:145:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:148:13: note: (20) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:148:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘read_swap_entries’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (22) returning to ‘find_suitable_hibernation_device_full’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:354:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (25) calling ‘read_swap_entries’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:260:12: note: (26) entry to ‘read_swap_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (29) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (30) ‘*fopen64 ("/proc/swaps", "re")’ leaks here; was opened at (29) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: warning: leak of ‘*fopen64 ("/proc/swaps", "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:446:5: note: (1) entry to ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:454:13: note: (2) calling ‘find_suitable_hibernation_device_full’ from ‘hibernation_is_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:344:5: note: (3) entry to ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (6) calling ‘read_resume_config’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:124:12: note: (7) entry to ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:133:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:134:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:136:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:140:13: note: (15) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:140:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘read_swap_entries’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:141:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:144:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:145:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:148:13: note: (20) inlined call to ‘read_one_line_file’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
In function ‘read_one_line_file’,
inlined from ‘read_resume_config’ at ../src/shared/hibernate-util.c:148:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fileio.h:73:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c: In function ‘read_swap_entries’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:353:13: note: (22) returning to ‘find_suitable_hibernation_device_full’ from ‘read_resume_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:354:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:357:13: note: (25) calling ‘read_swap_entries’ from ‘find_suitable_hibernation_device_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:260:12: note: (26) entry to ‘read_swap_entries’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (29) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/hibernate-util.c:266:13: note: (30) ‘*fopen64 ("/proc/swaps", "re")’ leaks here; was allocated at (29) <--[csmock-gcc-wrapper]
[284/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/format-table.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/format-table.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/format-table.c.o -c ../src/shared/format-table.c
[285/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/idn-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/idn-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/idn-util.c.o -c ../src/shared/idn-util.c
[286/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ima-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ima-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ima-util.c.o -c ../src/shared/ima-util.c
[287/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/image-policy.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/image-policy.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/image-policy.c.o -c ../src/shared/image-policy.c
[288/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/import-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/import-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/import-util.c.o -c ../src/shared/import-util.c
[289/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/dissect-image.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/dissect-image.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/dissect-image.c.o -c ../src/shared/dissect-image.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dissect-image.c: internal warning: child 5303 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 5303 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[290/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ipvlan-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ipvlan-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ipvlan-util.c.o -c ../src/shared/ipvlan-util.c
[291/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ip-protocol-list.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ip-protocol-list.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ip-protocol-list.c.o -c ../src/shared/ip-protocol-list.c
[292/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-printf.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-printf.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-printf.c.o -c ../src/shared/install-printf.c
[293/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-file.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-file.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/install-file.c.o -c ../src/shared/install-file.c
[294/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/in-addr-prefix-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/in-addr-prefix-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/in-addr-prefix-util.c.o -c ../src/shared/in-addr-prefix-util.c
[295/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-file-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-file-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-file-util.c.o -c ../src/shared/journal-file-util.c
[296/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-util.c.o -c ../src/shared/journal-util.c
[297/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/kbd-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/kbd-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/kbd-util.c.o -c ../src/shared/kbd-util.c
[298/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-importer.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-importer.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/journal-importer.c.o -c ../src/shared/journal-importer.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c: In function ‘get_data_size’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:175:26: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:291:5: note: (1) entry to ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:294:9: note: (2) following ‘case 1:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:369:9: note: (3) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:372:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:372:21: note: (6) calling ‘get_data_size’ from ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:163:12: note: (7) entry to ‘get_data_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:165:15: note: (8) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:165:15: note: (9) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:168:19: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:169:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:171:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:171:13: note: (16) calling ‘fill_fixed_size’ from ‘get_data_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:119:12: note: (17) entry to ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:122:26: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:124:19: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:37: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (26) calling ‘malloc_sizeof_safe’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:199:22: note: (27) entry to ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:32: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (30) returning to ‘fill_fixed_size’ from ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:126:19: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (36) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:129:42: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:132:24: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:132:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (41) calling ‘realloc_buffer’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:39:14: note: (42) entry to ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:40:19: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (45) returning to ‘fill_fixed_size’ from ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:171:13: note: (46) returning to ‘get_data_size’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:172:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:175:26: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:175:26: note: (49) use of uninitialized value ‘data’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c: In function ‘get_data_newline’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:200:12: note: (1) entry to ‘get_data_newline’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:202:15: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:202:15: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:205:19: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (8) calling ‘fill_fixed_size’ from ‘get_data_newline’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:119:12: note: (9) entry to ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:122:26: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:124:19: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:37: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (18) calling ‘malloc_sizeof_safe’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:199:22: note: (19) entry to ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:32: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (22) returning to ‘fill_fixed_size’ from ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:126:19: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (28) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:129:42: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:132:24: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (31) calling ‘realloc_buffer’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:39:14: note: (32) entry to ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:40:19: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (35) returning to ‘fill_fixed_size’ from ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (36) returning to ‘get_data_newline’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:208:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (39) use of uninitialized value ‘data’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:291:5: note: (1) entry to ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:294:9: note: (2) following ‘case 3:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:415:9: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:416:21: note: (4) calling ‘get_data_newline’ from ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:200:12: note: (5) entry to ‘get_data_newline’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:202:15: note: (6) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:202:15: note: (7) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:205:19: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (12) calling ‘fill_fixed_size’ from ‘get_data_newline’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:119:12: note: (13) entry to ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:122:26: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:124:19: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:37: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (22) calling ‘malloc_sizeof_safe’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:199:22: note: (23) entry to ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:32: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (26) returning to ‘fill_fixed_size’ from ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:126:19: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (32) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:129:42: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:132:24: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (35) calling ‘realloc_buffer’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:39:14: note: (36) entry to ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:40:19: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (39) returning to ‘fill_fixed_size’ from ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:207:13: note: (40) returning to ‘get_data_newline’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:208:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (43) use of uninitialized value ‘data’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c: In function ‘journal_importer_process_data’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:291:5: note: (1) entry to ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:387:23: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:387:23: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:294:9: note: (4) following ‘case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:386:9: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:392:21: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:392:21: note: (8) calling ‘get_data_data’ from ‘journal_importer_process_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:186:12: note: (9) entry to ‘get_data_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:191:19: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:193:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:193:13: note: (16) calling ‘fill_fixed_size’ from ‘get_data_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:119:12: note: (17) entry to ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:122:26: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:124:19: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:37: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (26) calling ‘malloc_sizeof_safe’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:199:22: note: (27) entry to ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:200:32: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:220:9: note: (30) returning to ‘fill_fixed_size’ from ‘malloc_sizeof_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:126:19: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (36) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:129:42: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:132:24: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (39) calling ‘realloc_buffer’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:39:14: note: (40) entry to ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:40:19: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:136:22: note: (43) returning to ‘fill_fixed_size’ from ‘realloc_buffer’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:193:13: note: (44) returning to ‘get_data_data’ from ‘fill_fixed_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:392:21: note: (45) returning to ‘journal_importer_process_data’ from ‘get_data_data’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:394:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:396:20: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/journal-importer.c:396:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (50) use of uninitialized value ‘data’ here <--[csmock-gcc-wrapper]
[299/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/libarchive-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/libarchive-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/libarchive-util.c.o -c ../src/shared/libarchive-util.c
[300/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/label-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/label-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/label-util.c.o -c ../src/shared/label-util.c
[301/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-config.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-config.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-config.c.o -c ../src/shared/kernel-config.c
[302/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/libcrypt-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/libcrypt-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/libcrypt-util.c.o -c ../src/shared/libcrypt-util.c
[303/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/libmount-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/libmount-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/libmount-util.c.o -c ../src/shared/libmount-util.c
[304/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-image.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-image.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/kernel-image.c.o -c ../src/shared/kernel-image.c
[305/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/local-addresses.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/local-addresses.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/local-addresses.c.o -c ../src/shared/local-addresses.c
[306/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/locale-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/locale-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/locale-setup.c.o -c ../src/shared/locale-setup.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c: In function ‘locale_context_load_conf’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:67:14: warning: leak of file descriptor ‘*open64 ("/etc/locale.conf", 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/env-file.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:64:13: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:64:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:67:14: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:67:14: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/locale-setup.c:67:14: note: (6) ‘*open64 ("/etc/locale.conf", 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
[307/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/killall.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/killall.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/killall.c.o -c ../src/shared/killall.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c: In function ‘argv_has_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: warning: leak of FILE ‘*fopen64 (_r__4, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:287:5: note: (1) entry to ‘broadcast_signal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:298:12: note: (2) following ‘false’ branch (when ‘wait_for_exit_37(D) == 0’)... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:301:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:302:19: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:303:19: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:305:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:308:27: note: (10) calling ‘killall’ from ‘broadcast_signal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:228:12: note: (11) entry to ‘killall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:236:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:243:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:245:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:245:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:248:57: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:248:21: note: (18) calling ‘ignore_proc’ from ‘killall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:73:13: note: (19) entry to ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:77:16: note: (20) inlined call to ‘pidref_is_set’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/format-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:16: <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘ignore_proc’ at ../src/shared/killall.c:77:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c: In function ‘argv_has_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:80:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:80:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:84:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:85:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (27) calling ‘is_survivor_cgroup’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:49:13: note: (28) entry to ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:53:16: note: (29) inlined call to ‘pidref_is_set’ from ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘is_survivor_cgroup’ at ../src/shared/killall.c:53:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c: In function ‘argv_has_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:55:13: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (32) returning to ‘ignore_proc’ from ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:92:13: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:93:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:97:17: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:100:14: note: (37) calling ‘argv_has_at’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:26:13: note: (38) entry to ‘argv_has_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: note: (39) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: note: (40) ‘*fopen64 (_r__4, "re")’ leaks here; was opened at (39) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: warning: leak of ‘*fopen64 (_r__4, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:287:5: note: (1) entry to ‘broadcast_signal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:298:12: note: (2) following ‘false’ branch (when ‘wait_for_exit_37(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:301:19: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:302:19: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:303:19: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:305:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:308:27: note: (10) calling ‘killall’ from ‘broadcast_signal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:228:12: note: (11) entry to ‘killall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:236:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (13) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:243:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:245:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:245:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:248:57: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:248:21: note: (18) calling ‘ignore_proc’ from ‘killall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:73:13: note: (19) entry to ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:77:16: note: (20) inlined call to ‘pidref_is_set’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘ignore_proc’ at ../src/shared/killall.c:77:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c: In function ‘argv_has_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:80:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:80:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:84:13: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:85:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (27) calling ‘is_survivor_cgroup’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:49:13: note: (28) entry to ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:53:16: note: (29) inlined call to ‘pidref_is_set’ from ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘is_survivor_cgroup’ at ../src/shared/killall.c:53:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c: In function ‘argv_has_at’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:55:13: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:13: note: (32) returning to ‘ignore_proc’ from ‘is_survivor_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:89:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:92:13: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:93:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:97:17: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:100:14: note: (37) calling ‘argv_has_at’ from ‘ignore_proc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:26:13: note: (38) entry to ‘argv_has_at’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: note: (39) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/killall.c:32:13: note: (40) ‘*fopen64 (_r__4, "re")’ leaks here; was allocated at (39) <--[csmock-gcc-wrapper]
[308/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/lsm-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/lsm-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/lsm-util.c.o -c ../src/shared/lsm-util.c
[309/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/loopback-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/loopback-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/loopback-setup.c.o -c ../src/shared/loopback-setup.c
[310/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-credential.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-credential.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-credential.c.o -c ../src/shared/machine-credential.c
[311/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/macvlan-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/macvlan-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/macvlan-util.c.o -c ../src/shared/macvlan-util.c
[312/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-pool.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-pool.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-pool.c.o -c ../src/shared/machine-pool.c
[313/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkdir-label.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkdir-label.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkdir-label.c.o -c ../src/shared/mkdir-label.c
[314/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/module-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/module-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/module-util.c.o -c ../src/shared/module-util.c
[315/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkfs-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkfs-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/mkfs-util.c.o -c ../src/shared/mkfs-util.c
[316/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/json.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/json.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/json.c.o -c ../src/shared/json.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c: In function ‘json_cmp_strings.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c:5135:16: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c:5135:16: note: (1) argument 1 (‘json_variant_string (MEM[(struct JsonVariant * const *)x_4(D)])’) NULL where non-null expected <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-id128.h:22, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-messages.h:20, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c:9: <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c:5135:16: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/json.c:5135:16: note: (1) argument 2 (‘json_variant_string (MEM[(struct JsonVariant * const *)y_1(D)])’) NULL where non-null expected <--[csmock-gcc-wrapper]
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper]
[317/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-id-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-id-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/machine-id-setup.c.o -c ../src/shared/machine-id-setup.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:30: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:26:28: warning: leak of file descriptor ‘fd_236’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:113:5: note: (1) entry to ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:127:24: note: (3) inlined call to ‘mkdir_parents’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:21: <--[csmock-gcc-wrapper]
In function ‘mkdir_parents’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:127:24:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/mkdir.h:23:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:132:30: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:133:28: note: (6) assuming ‘*open64 (_ret_79, 524544)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:133:28: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:26:28: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:127:24: note: (10) inlined call to ‘mkdir_parents’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In function ‘mkdir_parents’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:127:24:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/mkdir.h:23:16: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:26:28: note: (12) ‘fd_236’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:132:30: warning: leak of file descriptor ‘*open64 (_ret_79, 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:113:5: note: (1) entry to ‘machine_id_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:127:24: note: (3) inlined call to ‘mkdir_parents’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In function ‘mkdir_parents’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:127:24:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/mkdir.h:23:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:129:20: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:130:41: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:132:30: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:132:30: note: (8) ‘*open64 (_ret_79, 524544)’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:164:12: warning: use of uninitialized value ‘writable_74’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:113:5: note: (1) entry to ‘machine_id_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:116:14: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:116:14: note: (3) capacity: 1 byte <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:24:37: note: (5) inlined call to ‘umaskp’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In function ‘umaskp’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:121:9:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:11:9: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:164:12: note: (7) use of uninitialized value ‘writable_74’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:202:20: warning: use of uninitialized value ‘r_78’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:113:5: note: (1) entry to ‘machine_id_setup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:117:13: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:117:13: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:127:24: note: (5) inlined call to ‘mkdir_parents’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In function ‘mkdir_parents’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:127:24:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/mkdir.h:23:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:133:28: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:26:28: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:164:12: note: (9) following ‘false’ branch (when ‘writable_74 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:192:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:199:12: note: (11) following ‘true’ branch (when ‘write_run_machine_id_75 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:24:53: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:24:37: note: (14) inlined call to ‘umaskp’ from ‘machine_id_setup’ <--[csmock-gcc-wrapper]
In function ‘umaskp’,
inlined from ‘machine_id_setup’ at ../src/shared/machine-id-setup.c:200:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/umask-util.h:11:9: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_setup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:202:20: note: (16) use of uninitialized value ‘r_78’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c: In function ‘machine_id_commit’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:265:14: warning: leak of file descriptor ‘*open64 (_ret_34, 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/dissect-image.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:22: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:241:24: note: (1) following ‘true’ branch (when ‘sync_path_30’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:242:21: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:243:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:225:16: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:243:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:225:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:257:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:259:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:259:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:265:14: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:265:14: note: (11) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/machine-id-setup.c:265:14: note: (12) ‘*open64 (_ret_34, 524544)’ leaks here; was opened at (11) <--[csmock-gcc-wrapper]
[318/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-setup.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-setup.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-setup.c.o -c ../src/shared/mount-setup.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c: In function ‘relabel_extra’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: warning: leak of FILE ‘*fopen64 (*__unique_prefix_i17_26, "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:344:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/bus-util.h:16, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (6) ‘*fopen64 (*__unique_prefix_i17_26, "re")’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: warning: leak of ‘*fopen64 (*__unique_prefix_i17_26, "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:344:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-setup.c:350:21: note: (6) ‘*fopen64 (*__unique_prefix_i17_26, "re")’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
[319/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-naming-scheme.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-naming-scheme.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-naming-scheme.c.o -c ../src/shared/netif-naming-scheme.c
[320/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/net-condition.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/net-condition.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/net-condition.c.o -c ../src/shared/net-condition.c
[321/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-util.c.o -c ../src/shared/netif-util.c
[322/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/libfido2-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/libfido2-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/libfido2-util.c.o -c ../src/shared/libfido2-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c: In function ‘fido2_use_hmac_hash_specific_token’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: warning: use of uninitialized value ‘has_client_pin’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:365:12: note: (1) entry to ‘fido2_use_hmac_hash_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:380:22: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:380:22: note: (3) capacity: 1 byte <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:392:13: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:393:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:396:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:397:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (20) calling ‘verify_features’ from ‘fido2_use_hmac_hash_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:139:12: note: (21) entry to ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:159:14: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (26) returning to ‘fido2_use_hmac_hash_specific_token’ from ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:402:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: note: (29) use of uninitialized value ‘has_client_pin’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: warning: use of uninitialized value ‘has_client_pin’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:596:5: note: (1) entry to ‘fido2_use_hmac_hash’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:613:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:616:12: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:616:12: note: (4) following ‘true’ branch (when ‘device_38(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:617:21: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:617:21: note: (6) calling ‘fido2_is_cred_in_specific_token’ from ‘fido2_use_hmac_hash’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:284:12: note: (7) entry to ‘fido2_is_cred_in_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:296:54: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:297:60: note: (16) inlined call to ‘fido_assert_free_wrapper’ from ‘fido2_is_cred_in_specific_token’ <--[csmock-gcc-wrapper]
In function ‘fido_assert_free_wrapper’,
inlined from ‘fido2_is_cred_in_specific_token’ at ../src/shared/libfido2-util.c:297:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.h:79:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c: In function ‘fido2_use_hmac_hash_specific_token’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:296:54: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:617:21: note: (19) returning to ‘fido2_use_hmac_hash’ from ‘fido2_is_cred_in_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:618:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:623:20: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:623:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:626:24: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:626:24: note: (24) calling ‘fido2_use_hmac_hash_specific_token’ from ‘fido2_use_hmac_hash’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:365:12: note: (25) entry to ‘fido2_use_hmac_hash_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:380:22: note: (26) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:380:22: note: (27) capacity: 1 byte <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:392:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:393:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:396:13: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:397:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (44) calling ‘verify_features’ from ‘fido2_use_hmac_hash_specific_token’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:139:12: note: (45) entry to ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:159:14: note: (49) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:401:13: note: (50) returning to ‘fido2_use_hmac_hash_specific_token’ from ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:402:12: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:405:13: note: (53) use of uninitialized value ‘has_client_pin’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c: In function ‘fido2_generate_hmac_hash’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:767:13: warning: use of uninitialized value ‘has_client_pin’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:688:5: note: (1) entry to ‘fido2_generate_hmac_hash’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:711:22: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:711:22: note: (3) capacity: 1 byte <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:741:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:742:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:745:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:746:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:749:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:750:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:753:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:754:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:757:13: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:758:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:762:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:762:13: note: (30) calling ‘verify_features’ from ‘fido2_generate_hmac_hash’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:139:12: note: (31) entry to ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:159:14: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:159:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:163:14: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:164:12: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:303:19: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:148:66: note: (40) inlined call to ‘fido_cbor_info_free_wrapper’ from ‘verify_features’ <--[csmock-gcc-wrapper]
In function ‘fido_cbor_info_free_wrapper’,
inlined from ‘verify_features’ at ../src/shared/libfido2-util.c:148:66:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.h:74:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘fido2_generate_hmac_hash’:
cc1: note: (42) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:762:13: note: (43) returning to ‘fido2_generate_hmac_hash’ from ‘verify_features’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:763:12: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:767:13: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/libfido2-util.c:767:13: note: (46) use of uninitialized value ‘has_client_pin’ here <--[csmock-gcc-wrapper]
[323/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/logs-show.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/logs-show.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/logs-show.c.o -c ../src/shared/logs-show.c
[324/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-sriov.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-sriov.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/netif-sriov.c.o -c ../src/shared/netif-sriov.c
[325/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsflags.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsflags.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsflags.c.o -c ../src/shared/nsflags.c
[326/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsresource.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsresource.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/nsresource.c.o -c ../src/shared/nsresource.c
[327/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/loop-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/loop-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/loop-util.c.o -c ../src/shared/loop-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_make_internal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:472:19: warning: leak of file descriptor ‘*open64 ("/dev/loop-control", 526594)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:719:5: note: (1) entry to ‘loop_device_make_by_path_memory’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:18: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (4) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:736:20: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:739:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:742:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:742:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-device.h:22, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:16: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:745:24: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:745:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:748:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:749:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:752:15: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:753:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:756:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:758:16: note: (18) calling ‘loop_device_make_internal’ from ‘loop_device_make_by_path_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:400:12: note: (19) entry to ‘loop_device_make_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (22) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:424:23: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:424:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:431:21: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:432:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:436:12: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:436:12: note: (30) following ‘false’ branch (when ‘path_117(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:443:21: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:444:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:448:19: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:449:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:472:19: note: (36) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:472:19: note: (37) ‘*open64 ("/dev/loop-control", 526594)’ leaks here; was opened at (36) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:597:25: warning: dereference of NULL ‘0B’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:719:5: note: (1) entry to ‘loop_device_make_by_path_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (4) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:736:20: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:739:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:742:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:742:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:745:24: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:745:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:748:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:749:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:752:15: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:753:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:756:14: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:758:16: note: (18) calling ‘loop_device_make_internal’ from ‘loop_device_make_by_path_memory’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:400:12: note: (19) entry to ‘loop_device_make_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:411:51: note: (20) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (23) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:424:23: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:424:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:431:21: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:432:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:436:12: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:436:12: note: (31) following ‘false’ branch (when ‘path_117(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:443:21: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:444:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:448:19: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:449:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:473:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:476:25: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:524:64: note: (39) following ‘true’ branch (when ‘size_113(D) != 18446744073709551615’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:522:49: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:545:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:548:22: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:549:20: note: (43) following ‘false’ branch (when ‘nr_152 >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:552:21: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:552:21: note: (45) calling ‘loop_configure’ from ‘loop_device_make_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:241:12: note: (46) entry to ‘loop_configure’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:262:13: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:251:49: note: (53) calling ‘cleanup_clear_loop_close’ from ‘loop_configure’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:39:13: note: (54) entry to ‘cleanup_clear_loop_close’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:40:12: note: (55) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (56) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:251:49: note: (57) returning to ‘loop_configure’ from ‘cleanup_clear_loop_close’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:250:48: note: (58) inlined call to ‘sd_device_unrefp’ from ‘loop_configure’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-event.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-device.h:26: <--[csmock-gcc-wrapper]
In function ‘sd_device_unrefp’,
inlined from ‘loop_configure’ at ../src/shared/loop-util.c:250:48:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/_sd-common.h:97:20: note: (59) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘loop_device_make_internal’:
cc1: note: (60) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:552:21: note: (61) returning to ‘loop_device_make_internal’ from ‘loop_configure’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:597:10: note: (62) ‘d’ is NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:597:25: note: (63) dereference of NULL ‘d’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_make_by_path_memory’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:738:14: warning: leak of file descriptor ‘*open64 (path_25(D), 526592)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:736:20: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:738:14: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:738:14: note: (8) ‘*open64 (path_25(D), 526592)’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_free’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:779:27: warning: leak of file descriptor ‘*open64 ("/dev/loop-control", 526594)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:765:12: note: (1) following ‘false’ branch (when ‘d_49(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:773:22: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:778:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:778:45: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:778:40: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:779:27: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:779:27: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:779:27: note: (8) ‘*open64 ("/dev/loop-control", 526594)’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: warning: leak of ‘strdup (s)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:858:5: note: (1) entry to ‘loop_device_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (4) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:882:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:883:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:886:22: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:892:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:909:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:910:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:913:18: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:915:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:918:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:920:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:923:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:924:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:927:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:928:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:931:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:931:16: note: (22) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:932:12: note: (23) assuming ‘strdup (s)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:932:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (25) inlined call to ‘malloc_multiply’ from ‘loop_device_open’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘loop_device_open’ at ../src/shared/loop-util.c:935:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:936:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: note: (29) ‘strdup (s)’ leaks here; was allocated at (22) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: warning: leak of ‘malloc (96)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:858:5: note: (1) entry to ‘loop_device_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (4) following ‘case 0:, case 2:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:882:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:883:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:886:22: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:892:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:909:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:910:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:913:18: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:915:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:918:18: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:920:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:923:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:924:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:927:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:928:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:931:16: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:932:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (23) inlined call to ‘malloc_multiply’ from ‘loop_device_open’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘loop_device_open’ at ../src/shared/loop-util.c:935:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (25) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c: In function ‘loop_device_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:936:12: note: (26) assuming ‘malloc (96)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:936:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/loop-util.c:939:12: note: (29) ‘malloc (96)’ leaks here; was allocated at (25) <--[csmock-gcc-wrapper]
[328/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-argument.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-argument.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-argument.c.o -c ../src/shared/parse-argument.c
[329/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/output-mode.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/output-mode.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/output-mode.c.o -c ../src/shared/output-mode.c
[330/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/open-file.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/open-file.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/open-file.c.o -c ../src/shared/open-file.c
[331/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-passwdqc.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-passwdqc.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-passwdqc.c.o -c ../src/shared/password-quality-util-passwdqc.c
[332/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/numa-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/numa-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/numa-util.c.o -c ../src/shared/numa-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:6: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&l]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c: In function ‘numa_to_cpu_set’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:92:5: note: (1) entry to ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:100:23: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (8) calling ‘cpu_set_reset’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:7: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:15:20: note: (9) entry to ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:19:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (14) returning to ‘numa_to_cpu_set’ from ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (15) inlined call to ‘freep’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (16) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c: In function ‘numa_to_cpu_set’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:100:23: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (19) calling ‘cpu_set_reset’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:15:20: note: (20) entry to ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:19:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (25) returning to ‘numa_to_cpu_set’ from ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (26) inlined call to ‘freep’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (27) second ‘free’ here; first ‘free’ was at (16) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&l]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c: In function ‘numa_to_cpu_set’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:92:5: note: (1) entry to ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:100:23: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (8) calling ‘cpu_set_reset’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:15:20: note: (9) entry to ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:19:12: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (14) returning to ‘numa_to_cpu_set’ from ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (15) inlined call to ‘freep’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (16) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c: In function ‘numa_to_cpu_set’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:100:23: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (19) calling ‘cpu_set_reset’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:15:20: note: (20) entry to ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:17:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cpu-set-util.h:19:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:103:49: note: (25) returning to ‘numa_to_cpu_set’ from ‘cpu_set_reset’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/numa-util.c:101:38: note: (26) inlined call to ‘freep’ from ‘numa_to_cpu_set’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘numa_to_cpu_set’ at ../src/shared/numa-util.c:101:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (27) second ‘free’ here; first ‘free’ was at (16) <--[csmock-gcc-wrapper]
[333/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-helpers.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-helpers.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/parse-helpers.c.o -c ../src/shared/parse-helpers.c
[334/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-pwquality.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-pwquality.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/password-quality-util-pwquality.c.o -c ../src/shared/password-quality-util-pwquality.c
[335/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcre2-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcre2-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcre2-util.c.o -c ../src/shared/pcre2-util.c
[336/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pager.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pager.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pager.c.o -c ../src/shared/pager.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c: In function ‘pager_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:150:20: warning: leak of file descriptor ‘dup2 (fd[0], 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:85:6: note: (1) entry to ‘pager_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:92:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:104:17: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:105:12: note: (10) following ‘true’ branch (when ‘pager_96’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:106:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:108:12: note: (12) following ‘false’ branch (when ‘pager_98’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:120:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:13: note: (14) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (17) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:131:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:134:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:142:13: note: (21) inlined call to ‘safe_fork’ from ‘pager_open’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:22: <--[csmock-gcc-wrapper]
In function ‘safe_fork’,
inlined from ‘pager_open’ at ../src/shared/pager.c:142:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:200:16: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c: In function ‘pager_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:143:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:150:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:150:21: note: (27) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:150:20: note: (28) ‘dup2 (fd[0], 0)’ leaks here; was opened at (27) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:249:12: warning: leak of file descriptor ‘dup2 (fd[1], 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:85:6: note: (1) entry to ‘pager_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:92:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:104:17: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:105:12: note: (10) following ‘true’ branch (when ‘pager_96’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:106:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:108:12: note: (12) following ‘false’ branch (when ‘pager_98’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:120:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:13: note: (14) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (17) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:131:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:134:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:142:13: note: (21) inlined call to ‘safe_fork’ from ‘pager_open’ <--[csmock-gcc-wrapper]
In function ‘safe_fork’,
inlined from ‘pager_open’ at ../src/shared/pager.c:142:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:200:16: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c: In function ‘pager_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:143:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:248:25: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:249:13: note: (27) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:249:12: note: (28) ‘dup2 (fd[1], 1)’ leaks here; was opened at (27) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:256:12: warning: leak of file descriptor ‘dup2 (fd[1], 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:85:6: note: (1) entry to ‘pager_open’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:92:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:23: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:95:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:98:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:14: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:101:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:104:17: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:105:12: note: (10) following ‘true’ branch (when ‘pager_96’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:106:25: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:108:12: note: (12) following ‘false’ branch (when ‘pager_98’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:120:16: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:13: note: (14) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:123:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:13: note: (17) when ‘pipe2’ succeeds <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:127:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:131:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:134:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:142:13: note: (21) inlined call to ‘safe_fork’ from ‘pager_open’ <--[csmock-gcc-wrapper]
In function ‘safe_fork’,
inlined from ‘pager_open’ at ../src/shared/pager.c:142:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:200:16: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c: In function ‘pager_open’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:143:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:145:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:248:25: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:249:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:253:27: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:256:13: note: (29) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:256:12: note: (30) ‘dup2 (fd[1], 2)’ leaks here; was opened at (29) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c: In function ‘pager_close.part.0’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:39: warning: leak of file descriptor ‘dup2 (stored_stdout, 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:276:12: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:35: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:42: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:42: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:277:39: note: (6) ‘dup2 (stored_stdout, 1)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:39: warning: leak of file descriptor ‘dup2 (stored_stderr, 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:281:12: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:35: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:42: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:42: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/pager.c:282:39: note: (6) ‘dup2 (stored_stderr, 2)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
[337/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/mount-util.c.o -c ../src/shared/mount-util.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:14: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&o]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1679:5: note: (1) entry to ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1692:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (4) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:30: <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (5) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (6) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (7) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (8) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:816:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:819:26: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:824:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:844:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:845:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (21) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:42: note: (24) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (25) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (26) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (27) returning to ‘mount_credentials_fs’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1718:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (32) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1724:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (33) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (34) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (35) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (36) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (41) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:42: note: (42) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (43) second ‘free’ here; first ‘free’ was at (25) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&fl]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1679:5: note: (1) entry to ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1692:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (4) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (5) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (6) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (7) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (8) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:816:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:819:26: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:824:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:844:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:845:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (21) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:30: note: (24) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (25) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (26) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (27) returning to ‘mount_credentials_fs’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1718:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (32) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1724:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (33) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (34) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (35) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (36) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (41) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:30: note: (42) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (43) second ‘free’ here; first ‘free’ was at (25) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&o]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1679:5: note: (1) entry to ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1692:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (4) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (5) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (6) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (7) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (8) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:816:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:819:26: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:824:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:844:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:845:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (21) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:42: note: (24) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (25) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (26) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (27) returning to ‘mount_credentials_fs’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1718:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (32) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1724:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (33) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (34) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (35) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (36) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (41) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:42: note: (44) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (45) second ‘free’ here; first ‘free’ was at (25) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&fl]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1679:5: note: (1) entry to ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1692:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (4) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (5) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (6) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (7) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (8) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:816:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:819:26: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:824:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:826:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (18) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:844:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:845:22: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (21) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:30: note: (24) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (25) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1711:13: note: (26) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1711:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (27) returning to ‘mount_credentials_fs’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1718:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:13: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1721:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1724:16: note: (32) inlined call to ‘mount_nofollow_verbose’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
In function ‘mount_nofollow_verbose’,
inlined from ‘mount_credentials_fs’ at ../src/shared/mount-util.c:1724:16:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.h:65:16: note: (33) calling ‘mount_verbose_full’ from ‘mount_credentials_fs’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘mount_verbose_full’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:683:5: note: (34) entry to ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (35) calling ‘mount_option_mangle’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:789:5: note: (36) entry to ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:815:15: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:696:13: note: (41) returning to ‘mount_verbose_full’ from ‘mount_option_mangle’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:697:12: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:692:30: note: (44) inlined call to ‘freep’ from ‘mount_verbose_full’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘mount_verbose_full’ at ../src/shared/mount-util.c:692:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (45) second ‘free’ here; first ‘free’ was at (25) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c: In function ‘get_sub_mounts’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1558:28: warning: leak of file descriptor ‘*open64 (mnt_fs_get_target (fs), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1521:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1522:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (8) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1533:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1535:20: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1535:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1538:24: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1558:28: note: (13) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/mount-util.c:1558:28: note: (14) ‘*open64 (mnt_fs_get_target (fs), 2621440)’ leaks here; was opened at (13) <--[csmock-gcc-wrapper]
[338/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcrextend-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcrextend-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pcrextend-util.c.o -c ../src/shared/pcrextend-util.c
[339/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pe-binary.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pe-binary.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pe-binary.c.o -c ../src/shared/pe-binary.c
[340/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/plymouth-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/plymouth-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/plymouth-util.c.o -c ../src/shared/plymouth-util.c
[341/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pretty-print.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pretty-print.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pretty-print.c.o -c ../src/shared/pretty-print.c
[342/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/openssl-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/openssl-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/openssl-util.c.o -c ../src/shared/openssl-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘openssl_digest_many’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: warning: use of uninitialized value ‘digest_size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:101:5: note: (1) entry to ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:135:16: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:135:16: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:111:16: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:116:46: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:120:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:124:55: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:125:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:128:14: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:128:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (15) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:136:13: note: (16) calling ‘openssl_digest_size’ from ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:72:5: note: (17) entry to ‘openssl_digest_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:77:46: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:91:12: note: (22) following ‘true’ branch (when ‘digest_size_26 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:31:55: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:136:13: note: (24) returning to ‘openssl_digest_many’ from ‘openssl_digest_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:137:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: note: (27) use of uninitialized value ‘digest_size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: warning: use of uninitialized value ‘digest_size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1124:5: note: (1) entry to ‘string_hashsum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1139:13: note: (7) inlined call to ‘openssl_digest’ from ‘string_hashsum’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:9: <--[csmock-gcc-wrapper]
In function ‘openssl_digest’,
inlined from ‘string_hashsum’ at ../src/shared/openssl-util.c:1139:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:23:24: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:88:16: note: (9) calling ‘openssl_digest_many’ from ‘string_hashsum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘openssl_digest_many’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:101:5: note: (10) entry to ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:135:16: note: (11) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:135:16: note: (12) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:111:16: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:116:46: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:120:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:124:55: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:125:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:128:14: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:128:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (24) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:131:30: note: (25) following ‘true’ branch (when ‘i_41 < n_data_72(D)’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:132:66: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:132:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:131:41: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:136:13: note: (29) calling ‘openssl_digest_size’ from ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:72:5: note: (30) entry to ‘openssl_digest_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:77:46: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:91:12: note: (35) following ‘true’ branch (when ‘digest_size_26 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:31:55: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:136:13: note: (37) returning to ‘openssl_digest_many’ from ‘openssl_digest_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:137:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:140:36: note: (40) use of uninitialized value ‘digest_size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘string_hashsum’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1143:15: warning: use of uninitialized value ‘hash_size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1124:5: note: (1) entry to ‘string_hashsum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1131:16: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1131:16: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1139:13: note: (9) inlined call to ‘openssl_digest’ from ‘string_hashsum’ <--[csmock-gcc-wrapper]
In function ‘openssl_digest’,
inlined from ‘string_hashsum’ at ../src/shared/openssl-util.c:1139:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:23:24: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:88:16: note: (11) calling ‘openssl_digest_many’ from ‘string_hashsum’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘string_hashsum’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:101:5: note: (12) entry to ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:111:16: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:116:46: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:124:49: note: (19) inlined call to ‘EVP_MD_CTX_freep’ from ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
In function ‘EVP_MD_CTX_freep’,
inlined from ‘openssl_digest_many’ at ../src/shared/openssl-util.c:124:49:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:502:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘string_hashsum’:
cc1: note: (21) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1139:13: note: (22) inlined call to ‘openssl_digest’ from ‘string_hashsum’ <--[csmock-gcc-wrapper]
In function ‘openssl_digest’,
inlined from ‘string_hashsum’ at ../src/shared/openssl-util.c:1139:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:88:16: note: (23) returning to ‘string_hashsum’ from ‘openssl_digest_many’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘string_hashsum’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1140:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1143:15: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1143:15: note: (26) use of uninitialized value ‘hash_size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c: In function ‘rsa_pkey_generate_volume_keys’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1274:29: warning: use of uninitialized value ‘saved_key_size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1241:12: note: (1) entry to ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1250:36: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1250:36: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1253:13: note: (4) calling ‘rsa_pkey_to_suitable_key_size’ from ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:610:5: note: (5) entry to ‘rsa_pkey_to_suitable_key_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:25: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:623:13: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:623:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:626:16: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:633:12: note: (12) following ‘false’ branch (when ‘suitable_key_size_22 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:636:32: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1253:13: note: (14) returning to ‘rsa_pkey_generate_volume_keys’ from ‘rsa_pkey_to_suitable_key_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1254:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1260:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1263:13: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1264:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (21) calling ‘rsa_encrypt_bytes’ from ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:507:5: note: (22) entry to ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:519:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:31:55: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:34:25: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:304:25: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:514:53: note: (27) inlined call to ‘EVP_PKEY_CTX_freep’ from ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
In function ‘EVP_PKEY_CTX_freep’,
inlined from ‘rsa_encrypt_bytes’ at ../src/shared/openssl-util.c:514:53:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:502:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘rsa_pkey_generate_volume_keys’:
cc1: note: (29) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (30) returning to ‘rsa_pkey_generate_volume_keys’ from ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1268:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1271:28: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1274:29: note: (33) use of uninitialized value ‘saved_key_size’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1274:29: warning: use of uninitialized value ‘saved_key_size’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1278:5: note: (1) entry to ‘pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1292:20: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1296:9: note: (12) following ‘case 6:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1298:9: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1299:24: note: (14) calling ‘rsa_pkey_generate_volume_keys’ from ‘pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1241:12: note: (15) entry to ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1250:36: note: (16) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1250:36: note: (17) capacity: 8 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1253:13: note: (18) calling ‘rsa_pkey_to_suitable_key_size’ from ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:610:5: note: (19) entry to ‘rsa_pkey_to_suitable_key_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:623:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:623:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:626:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:633:12: note: (26) following ‘false’ branch (when ‘suitable_key_size_22 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:636:32: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1253:13: note: (28) returning to ‘rsa_pkey_generate_volume_keys’ from ‘rsa_pkey_to_suitable_key_size’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1254:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1260:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1263:13: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1264:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (35) calling ‘rsa_encrypt_bytes’ from ‘rsa_pkey_generate_volume_keys’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:507:5: note: (36) entry to ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:519:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:31:55: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:34:25: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:304:25: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:514:53: note: (41) inlined call to ‘EVP_PKEY_CTX_freep’ from ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
In function ‘EVP_PKEY_CTX_freep’,
inlined from ‘rsa_encrypt_bytes’ at ../src/shared/openssl-util.c:514:53:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:502:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘rsa_pkey_generate_volume_keys’:
cc1: note: (43) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1267:13: note: (44) returning to ‘rsa_pkey_generate_volume_keys’ from ‘rsa_encrypt_bytes’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1268:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1271:28: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.c:1274:29: note: (47) use of uninitialized value ‘saved_key_size’ here <--[csmock-gcc-wrapper]
[343/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/capsule-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/capsule-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/capsule-util.c.o -c ../src/shared/capsule-util.c
[344/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/quota-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/quota-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/quota-util.c.o -c ../src/shared/quota-util.c
[345/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/reboot-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/reboot-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/reboot-util.c.o -c ../src/shared/reboot-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c: In function ‘xen_kexec_loaded’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:154:22: warning: leak of file descriptor ‘*open64 ("/dev/xen/privcmd", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:144:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:150:16: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:151:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:154:22: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:154:22: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:154:22: note: (6) ‘*open64 ("/dev/xen/privcmd", 524290)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:158:18: warning: leak of file descriptor ‘*open64 ("/dev/xen/hypercall", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:144:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:150:16: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:151:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:154:22: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:155:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:158:18: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:158:18: note: (7) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/reboot-util.c:158:18: note: (8) ‘*open64 ("/dev/xen/hypercall", 524290)’ leaks here; was opened at (7) <--[csmock-gcc-wrapper]
[346/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/recovery-key.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/recovery-key.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/recovery-key.c.o -c ../src/shared/recovery-key.c
[347/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/ptyfwd.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/ptyfwd.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/ptyfwd.c.o -c ../src/shared/ptyfwd.c
[348/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/qrcode-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/qrcode-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/qrcode-util.c.o -c ../src/shared/qrcode-util.c
[349/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/resize-fs.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/resize-fs.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/resize-fs.c.o -c ../src/shared/resize-fs.c
[350/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/resolve-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/resolve-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/resolve-util.c.o -c ../src/shared/resolve-util.c
[351/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/install.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/install.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/install.c.o -c ../src/shared/install.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/install.c: internal warning: child 5767 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 5767 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
[352/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/rm-rf.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/rm-rf.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/rm-rf.c.o -c ../src/shared/rm-rf.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘openat_harder’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:175:32: warning: use of uninitialized value ‘old_mode’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:502:5: note: (1) entry to ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:506:12: note: (2) following ‘false’ branch (when ‘fd_6(D) >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:14: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:9: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:515:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (10) calling ‘rm_rf_inner_child’ from ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:191:12: note: (11) entry to ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:209:21: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:210:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/copy.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/btrfs-util.h:11, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:213:36: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:216:12: note: (20) following ‘true’ branch (when ‘is_dir_21 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (22) following ‘false’ branch (when ‘root_dev_37(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:222:21: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:223:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:228:28: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:242:20: note: (28) following ‘true’ branch (when ‘allow_recursion_47(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (30) calling ‘openat_harder’ from ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:129:12: note: (31) entry to ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:132:16: note: (32) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:132:16: note: (33) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:142:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:141:49: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:160:56: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:160:15: note: (42) inlined call to ‘RET_NERRNO’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:14, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:12: <--[csmock-gcc-wrapper]
In function ‘RET_NERRNO’,
inlined from ‘openat_harder’ at ../src/shared/rm-rf.c:160:15:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:71:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘openat_harder’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (45) calling ‘patch_dirfd_mode’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:30:12: note: (46) entry to ‘patch_dirfd_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:41:13: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (51) returning to ‘openat_harder’ from ‘patch_dirfd_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:166:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:172:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:173:12: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:174:20: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:174:20: note: (56) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:175:32: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:175:32: note: (58) use of uninitialized value ‘old_mode’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:180:31: warning: use of uninitialized value ‘old_mode’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:502:5: note: (1) entry to ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:506:12: note: (2) following ‘false’ branch (when ‘fd_6(D) >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:14: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:515:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (10) calling ‘rm_rf_inner_child’ from ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:191:12: note: (11) entry to ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:209:21: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:210:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:213:36: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:216:12: note: (20) following ‘true’ branch (when ‘is_dir_21 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (22) following ‘false’ branch (when ‘root_dev_37(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:222:21: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:223:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:228:28: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:242:20: note: (28) following ‘true’ branch (when ‘allow_recursion_47(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (30) calling ‘openat_harder’ from ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:129:12: note: (31) entry to ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:132:16: note: (32) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:132:16: note: (33) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:142:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:141:49: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:160:56: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:160:15: note: (42) inlined call to ‘RET_NERRNO’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
In function ‘RET_NERRNO’,
inlined from ‘openat_harder’ at ../src/shared/rm-rf.c:160:15:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:71:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘openat_harder’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (45) calling ‘patch_dirfd_mode’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:30:12: note: (46) entry to ‘patch_dirfd_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:41:13: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:165:21: note: (51) returning to ‘openat_harder’ from ‘patch_dirfd_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:166:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:172:14: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:173:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:179:12: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:179:12: note: (56) following ‘true’ branch (when ‘ret_old_mode_40(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:180:31: note: (57) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:180:31: note: (58) use of uninitialized value ‘old_mode’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘rm_rf_inner_child’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:254:21: warning: use of uninitialized value ‘old_mode’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:502:5: note: (1) entry to ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:506:12: note: (2) following ‘false’ branch (when ‘fd_6(D) >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:14: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:515:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (10) calling ‘rm_rf_inner_child’ from ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:191:12: note: (11) entry to ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (12) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (13) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:20: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:209:21: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:210:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:213:36: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:216:12: note: (22) following ‘true’ branch (when ‘is_dir_21 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (24) following ‘false’ branch (when ‘root_dev_37(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:222:21: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:223:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:228:28: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:242:20: note: (30) following ‘true’ branch (when ‘allow_recursion_47(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (32) calling ‘openat_harder’ from ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:129:12: note: (33) entry to ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:142:13: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:148:20: note: (40) following ‘true’ branch (when ‘ret_old_mode_40(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:149:37: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:151:28: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:152:41: note: (43) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (44) returning to ‘rm_rf_inner_child’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:249:20: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:254:21: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:254:21: note: (47) use of uninitialized value ‘old_mode’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘rm_rf_children_impl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:340:29: warning: leak of ‘fdopendir (fd_67)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:502:5: note: (1) entry to ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:506:12: note: (2) following ‘false’ branch (when ‘fd_6(D) >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:14: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:509:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:20: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:512:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:11: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:515:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:518:16: note: (10) calling ‘rm_rf_inner_child’ from ‘rm_rf_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:191:12: note: (11) entry to ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:20: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:205:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:209:21: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:210:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:213:36: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:216:12: note: (20) following ‘true’ branch (when ‘is_dir_21 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:218:20: note: (22) following ‘false’ branch (when ‘root_dev_37(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:222:21: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:223:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:225:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:228:28: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:242:20: note: (28) following ‘true’ branch (when ‘allow_recursion_47(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:245:24: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (30) calling ‘openat_harder’ from ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:129:12: note: (31) entry to ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:140:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:142:13: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:144:22: note: (38) inlined call to ‘RET_NERRNO’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
In function ‘RET_NERRNO’,
inlined from ‘openat_harder’ at ../src/shared/rm-rf.c:144:22:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:71:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c: In function ‘rm_rf_children_impl’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:148:20: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:148:20: note: (41) following ‘true’ branch (when ‘ret_old_mode_40(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:149:37: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:151:28: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:154:43: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:246:33: note: (45) returning to ‘rm_rf_inner_child’ from ‘openat_harder’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:249:20: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:254:21: note: (47) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:254:21: note: (48) calling ‘rm_rf_children_impl’ from ‘rm_rf_inner_child’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:297:12: note: (49) entry to ‘rm_rf_children_impl’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:314:20: note: (50) following ‘false’ branch (when ‘n_todo_72 == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:338:9: note: (51) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:340:29: note: (53) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:340:29: note: (54) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/rm-rf.c:340:29: note: (55) ‘fdopendir (fd_67)’ leaks here; was allocated at (54) <--[csmock-gcc-wrapper]
[353/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/service-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/service-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/service-util.c.o -c ../src/shared/service-util.c
[354/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pkcs11-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pkcs11-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pkcs11-util.c.o -c ../src/shared/pkcs11-util.c
[355/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/securebits-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/securebits-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/securebits-util.c.o -c ../src/shared/securebits-util.c
[356/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/selinux-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/selinux-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/selinux-util.c.o -c ../src/shared/selinux-util.c
[357/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/smack-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/smack-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/smack-util.c.o -c ../src/shared/smack-util.c
[358/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-label.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-label.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-label.c.o -c ../src/shared/socket-label.c
[359/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/sleep-config.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/sleep-config.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/sleep-config.c.o -c ../src/shared/sleep-config.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c: In function ‘s2h_supported’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: use of uninitialized value ‘support’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:400:5: note: (1) entry to ‘sleep_supported_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:408:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:408:13: note: (6) calling ‘parse_sleep_config’ from ‘sleep_supported_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:116:5: note: (7) entry to ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (9) inlined call to ‘malloc_multiply’ from ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘parse_sleep_config’ at ../src/shared/sleep-config.c:122:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c: In function ‘s2h_supported’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:123:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:126:13: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:167:38: note: (13) following ‘true’ branch (when ‘i_20 != 3’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:168:32: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:168:36: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:169:41: note: (16) inlined call to ‘strv_copy’ from ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:8: <--[csmock-gcc-wrapper]
In function ‘strv_copy’,
inlined from ‘parse_sleep_config’ at ../src/shared/sleep-config.c:169:41:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:39:16: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c: In function ‘s2h_supported’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:170:28: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:174:31: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:184:9: note: (20) calling ‘sleep_config_validate_state_and_mode’ from ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:95:13: note: (21) entry to ‘sleep_config_validate_state_and_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:102:37: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:102:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:107:26: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:111:36: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:184:9: note: (28) returning to ‘parse_sleep_config’ from ‘sleep_config_validate_state_and_mode’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:117:52: note: (29) calling ‘sleep_config_freep’ from ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.h:40:43: note: (30) entry to ‘sleep_config_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:496:9: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:117:52: note: (33) returning to ‘parse_sleep_config’ from ‘sleep_config_freep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:408:13: note: (34) returning to ‘sleep_supported_full’ from ‘parse_sleep_config’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:409:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:412:13: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:412:13: note: (37) calling ‘sleep_supported_internal’ from ‘sleep_supported_full’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:315:12: note: (38) entry to ‘sleep_supported_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:328:12: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:328:12: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:334:12: note: (48) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:334:12: note: (49) following ‘true’ branch (when ‘operation_31(D) == 4’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:335:24: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:335:24: note: (51) calling ‘s2h_supported’ from ‘sleep_supported_internal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:278:12: note: (52) entry to ‘s2h_supported’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:285:22: note: (53) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:285:22: note: (54) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (56) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:291:14: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/sleep-config.c:291:12: note: (59) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (60) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:273:33: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (63) use of uninitialized value ‘support’ here <--[csmock-gcc-wrapper]
[360/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/serialize.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/serialize.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/serialize.c.o -c ../src/shared/serialize.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:5: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&allocated]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:182:5: note: (1) entry to ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:188:14: note: (5) inlined call to ‘pidref_is_set’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/format-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/process-util.h:15, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:15: <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘serialize_pidref’ at ../src/shared/serialize.c:188:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:197:19: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:197:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:198:28: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:199:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (13) calling ‘serialize_item_format’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:56:5: note: (14) entry to ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:69:9: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:78:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:94:9: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:57:30: note: (23) inlined call to ‘freep’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (24) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (25) returning to ‘serialize_pidref’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:203:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:207:16: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:207:16: note: (28) calling ‘serialize_item_format’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:56:5: note: (29) entry to ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:69:9: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:57:30: note: (36) inlined call to ‘freep’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (37) second ‘free’ here; first ‘free’ was at (24) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&allocated]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:182:5: note: (1) entry to ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:188:14: note: (5) inlined call to ‘pidref_is_set’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
In function ‘pidref_is_set’,
inlined from ‘serialize_pidref’ at ../src/shared/serialize.c:188:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:19:23: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:197:19: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:197:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:198:28: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:199:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (13) calling ‘serialize_item_format’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:56:5: note: (14) entry to ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:69:9: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:78:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:94:9: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:57:30: note: (23) inlined call to ‘freep’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (24) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘serialize_item_format’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:202:21: note: (25) returning to ‘serialize_pidref’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:203:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:207:16: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:207:16: note: (28) calling ‘serialize_item_format’ from ‘serialize_pidref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:56:5: note: (29) entry to ‘serialize_item_format’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:69:9: note: (35) ...to here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:217:25: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:228:10: note: (37) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:57:30: note: (38) inlined call to ‘freep’ from ‘serialize_item_format’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘serialize_item_format’ at ../src/shared/serialize.c:57:30:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (39) second ‘free’ here; first ‘free’ was at (24) <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:8: <--[csmock-gcc-wrapper]
In function ‘closep’,
inlined from ‘open_serialization_file’ at ../src/shared/serialize.c:570:29:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:45:9: warning: use of uninitialized value ‘fd’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c: In function ‘open_serialization_file’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:570:29: note: (1) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:570:29: note: (2) capacity: 4 bytes <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/serialize.c:570:29: note: (3) inlined call to ‘closep’ from ‘open_serialization_file’ <--[csmock-gcc-wrapper]
In function ‘closep’,
inlined from ‘open_serialization_file’ at ../src/shared/serialize.c:570:29:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:45:9: note: (4) use of uninitialized value ‘fd’ here <--[csmock-gcc-wrapper]
[361/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/tomoyo-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/tomoyo-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/tomoyo-util.c.o -c ../src/shared/tomoyo-util.c
[362/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-ask-password-agent.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-ask-password-agent.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-ask-password-agent.c.o -c ../src/shared/spawn-ask-password-agent.c
[363/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-netlink.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-netlink.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/socket-netlink.c.o -c ../src/shared/socket-netlink.c
[364/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-polkit-agent.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-polkit-agent.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/spawn-polkit-agent.c.o -c ../src/shared/spawn-polkit-agent.c
[365/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/specifier.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/specifier.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/specifier.c.o -c ../src/shared/specifier.c
[366/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/tmpfile-util-label.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/tmpfile-util-label.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/tmpfile-util-label.c.o -c ../src/shared/tmpfile-util-label.c
[367/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-event-log.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-event-log.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-event-log.c.o -c ../src/shared/tpm2-event-log.c
[368/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/switch-root.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/switch-root.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/switch-root.c.o -c ../src/shared/switch-root.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c: In function ‘switch_root’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: warning: leak of file descriptor ‘*open64 ("/", 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/chase.h:7, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (3) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (4) ‘*open64 ("/", 589824)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: warning: leak of file descriptor ‘*open64 (new_root_146(D), 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:58:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: note: (6) ‘*open64 (new_root_146(D), 589824)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: warning: leak of file descriptor ‘*open64 (new_root_146(D), 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:58:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:62:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:65:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:66:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:68:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:68:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:74:13: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:75:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:77:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:77:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: note: (15) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: note: (16) ‘*open64 (new_root_146(D), 589824)’ leaks here; was opened at (15) <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/creds-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:108:17: warning: leak of file descriptor ‘*open64 (new_root_146(D), 589824)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:57:23: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:58:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:61:23: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:62:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:65:13: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:66:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:68:12: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:68:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:74:13: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:75:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:77:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:77:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:83:22: note: (15) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:84:20: note: (16) assuming ‘*open64 (new_root_146(D), 589824)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/switch-root.c:84:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:108:17: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fd-util.h:108:17: note: (19) ‘*open64 (new_root_146(D), 589824)’ leaks here; was opened at (15) <--[csmock-gcc-wrapper]
[369/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb-dropin.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb-dropin.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb-dropin.c.o -c ../src/shared/userdb-dropin.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c: In function ‘dropin_user_record_by_uid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: warning: leak of FILE ‘*fopen64 (path_24(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:141:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:141:12: note: (3) following ‘true’ branch (when ‘path_24(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (6) ‘*fopen64 (path_24(D), "re")’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: warning: leak of ‘*fopen64 (path_24(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:141:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:141:12: note: (3) following ‘true’ branch (when ‘path_24(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:142:21: note: (6) ‘*fopen64 (path_24(D), "re")’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c: In function ‘dropin_group_record_by_name’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: warning: leak of FILE ‘*fopen64 (path_31(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:255:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:255:12: note: (3) following ‘true’ branch (when ‘path_31(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (6) ‘*fopen64 (path_31(D), "re")’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: warning: leak of ‘*fopen64 (path_31(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:255:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:255:12: note: (3) following ‘true’ branch (when ‘path_31(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:256:21: note: (6) ‘*fopen64 (path_31(D), "re")’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c: In function ‘dropin_group_record_by_gid’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: warning: leak of FILE ‘*fopen64 (path_22(D), "re")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:285:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:285:12: note: (3) following ‘true’ branch (when ‘path_22(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (5) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (6) ‘*fopen64 (path_22(D), "re")’ leaks here; was opened at (5) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: warning: leak of ‘*fopen64 (path_22(D), "re")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:285:12: note: (2) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:285:12: note: (3) following ‘true’ branch (when ‘path_22(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (5) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb-dropin.c:286:21: note: (6) ‘*fopen64 (path_22(D), "re")’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper]
[370/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/udev-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/udev-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/udev-util.c.o -c ../src/shared/udev-util.c
[371/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.c.o -c ../src/shared/varlink-io.systemd.c
[372/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.BootControl.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.BootControl.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.BootControl.c.o -c ../src/shared/varlink-io.systemd.BootControl.c
[373/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-nss.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-nss.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-nss.c.o -c ../src/shared/user-record-nss.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c: In function ‘nss_group_to_group_record’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: warning: use of uninitialized value ‘sgrp_34(D)->sg_namp’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:413:5: note: (1) entry to ‘nss_group_record_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:421:21: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:425:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:428:12: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:428:12: note: (5) following ‘true’ branch (when ‘with_shadow_22(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:429:21: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:429:21: note: (7) calling ‘nss_sgrp_for_group’ from ‘nss_group_record_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:339:5: note: (8) entry to ‘nss_sgrp_for_group’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (14) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:429:21: note: (15) returning to ‘nss_group_record_by_gid’ from ‘nss_sgrp_for_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:430:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:438:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:438:13: note: (18) calling ‘nss_group_to_group_record’ from ‘nss_group_record_by_gid’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:276:5: note: (19) entry to ‘nss_group_to_group_record’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:286:24: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:286:13: note: (22) inlined call to ‘isempty’ from ‘nss_group_to_group_record’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:14, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/format-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:4: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘nss_group_to_group_record’ at ../src/shared/user-record-nss.c:286:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c: In function ‘nss_group_to_group_record’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:12: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:12: note: (25) following ‘true’ branch (when ‘sgrp_34(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: note: (27) use of uninitialized value ‘sgrp_34(D)->sg_namp’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: warning: use of uninitialized value ‘sgrp_34(D)->sg_namp’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:377:5: note: (1) entry to ‘nss_group_record_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:385:21: note: (2) region created on stack here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:390:13: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:391:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:394:12: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:394:12: note: (7) following ‘true’ branch (when ‘with_shadow_25(D) != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:395:21: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:395:21: note: (9) calling ‘nss_sgrp_for_group’ from ‘nss_group_record_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:339:5: note: (10) entry to ‘nss_sgrp_for_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (16) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:395:21: note: (17) returning to ‘nss_group_record_by_name’ from ‘nss_sgrp_for_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:396:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:404:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:404:13: note: (20) calling ‘nss_group_to_group_record’ from ‘nss_group_record_by_name’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:276:5: note: (21) entry to ‘nss_group_to_group_record’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:286:24: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:286:13: note: (24) inlined call to ‘isempty’ from ‘nss_group_to_group_record’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘nss_group_to_group_record’ at ../src/shared/user-record-nss.c:286:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c: In function ‘nss_group_to_group_record’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:12: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:12: note: (27) following ‘true’ branch (when ‘sgrp_34(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-nss.c:289:36: note: (29) use of uninitialized value ‘sgrp_34(D)->sg_namp’ here <--[csmock-gcc-wrapper]
[374/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Credentials.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Credentials.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Credentials.c.o -c ../src/shared/varlink-io.systemd.Credentials.c
[375/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-show.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-show.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record-show.c.o -c ../src/shared/user-record-show.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/format-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:4: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&link]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c: In function ‘user_record_show’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:31:6: note: (1) entry to ‘user_record_show’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:222:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:223:39: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:233:38: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:240:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:242:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:244:25: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (9) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (10) inlined call to ‘freep’ from ‘user_record_show’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (11) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c: In function ‘user_record_show’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:233:38: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (14) inlined call to ‘freep’ from ‘user_record_show’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (15) second ‘free’ here; first ‘free’ was at (11) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&link]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c: In function ‘user_record_show’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:31:6: note: (1) entry to ‘user_record_show’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:222:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:223:39: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:233:38: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:240:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:242:32: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:244:25: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (9) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (10) inlined call to ‘freep’ from ‘user_record_show’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (11) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c: In function ‘user_record_show’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:233:38: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:240:28: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:242:32: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:244:25: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (17) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record-show.c:234:60: note: (18) inlined call to ‘freep’ from ‘user_record_show’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘user_record_show’ at ../src/shared/user-record-show.c:234:60:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (19) second ‘free’ here; first ‘free’ was at (11) <--[csmock-gcc-wrapper]
[376/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/userdb.c.o -c ../src/shared/userdb.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/conf-files.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:5: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘membershipdb_all’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: leak of ‘userdb_iterator_new (2, flags_18(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1247:5: note: (1) entry to ‘membershipdb_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (4) calling ‘userdb_iterator_new’ from ‘membershipdb_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:104:24: note: (5) entry to ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/fs-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/stat-util.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/path-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/dirent-util.h:9, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (7) inlined call to ‘malloc_multiply’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘userdb_iterator_new’ at ../src/shared/userdb.c:110:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘membershipdb_all’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:111:12: note: (10) assuming ‘malloc (120)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:111:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:117:36: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (13) returning to ‘membershipdb_all’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (14) ‘userdb_iterator_new (2, flags_18(D))’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘membershipdb_by_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: warning: leak of ‘userdb_iterator_new (2, flags_36(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1412:5: note: (1) entry to ‘membershipdb_by_group_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1420:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1420:13: note: (6) calling ‘membershipdb_by_group’ from ‘membershipdb_by_group_strv’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1188:5: note: (7) entry to ‘membershipdb_by_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1195:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1195:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1198:13: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1200:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1203:20: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1203:20: note: (14) calling ‘userdb_iterator_new’ from ‘membershipdb_by_group’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:104:24: note: (15) entry to ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (17) inlined call to ‘malloc_multiply’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘userdb_iterator_new’ at ../src/shared/userdb.c:110:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (18) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (19) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘membershipdb_by_group’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:111:12: note: (20) assuming ‘malloc (120)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:111:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:117:36: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1203:20: note: (23) returning to ‘membershipdb_by_group’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (24) ‘userdb_iterator_new (2, flags_36(D))’ leaks here; was allocated at (19) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘userdb_start_query’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:446:13: warning: leak of ‘opendir ("/run/systemd/userdb/")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1247:5: note: (1) entry to ‘membershipdb_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (4) calling ‘userdb_iterator_new’ from ‘membershipdb_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:104:24: note: (5) entry to ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (7) inlined call to ‘malloc_multiply’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘userdb_iterator_new’ at ../src/shared/userdb.c:110:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c: In function ‘userdb_start_query’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:111:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:117:36: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1253:20: note: (11) returning to ‘membershipdb_all’ from ‘userdb_iterator_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1254:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1257:14: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:1257:14: note: (14) calling ‘userdb_start_query’ from ‘membershipdb_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:391:12: note: (15) entry to ‘userdb_start_query’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:406:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:409:13: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:422:12: note: (22) following ‘false’ branch (when ‘e_84’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:429:20: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:446:13: note: (24) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/userdb.c:446:13: note: (25) ‘opendir ("/run/systemd/userdb/")’ leaks here; was allocated at (24) <--[csmock-gcc-wrapper]
[377/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Journal.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Journal.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Journal.c.o -c ../src/shared/varlink-io.systemd.Journal.c
[378/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Machine.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Machine.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Machine.c.o -c ../src/shared/varlink-io.systemd.Machine.c
[379/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Hostname.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Hostname.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Hostname.c.o -c ../src/shared/varlink-io.systemd.Hostname.c
[380/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.ManagedOOM.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.ManagedOOM.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.ManagedOOM.c.o -c ../src/shared/varlink-io.systemd.ManagedOOM.c
[381/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.MountFileSystem.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.MountFileSystem.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.MountFileSystem.c.o -c ../src/shared/varlink-io.systemd.MountFileSystem.c
[382/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.NamespaceResource.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.NamespaceResource.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.NamespaceResource.c.o -c ../src/shared/varlink-io.systemd.NamespaceResource.c
[383/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRExtend.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRExtend.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRExtend.c.o -c ../src/shared/varlink-io.systemd.PCRExtend.c
[384/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Network.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Network.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Network.c.o -c ../src/shared/varlink-io.systemd.Network.c
[385/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-idl.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-idl.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-idl.c.o -c ../src/shared/varlink-idl.c
[386/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRLock.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRLock.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.PCRLock.c.o -c ../src/shared/varlink-io.systemd.PCRLock.c
[387/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.c.o -c ../src/shared/varlink-io.systemd.Resolve.c
[388/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.Monitor.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.Monitor.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.Resolve.Monitor.c.o -c ../src/shared/varlink-io.systemd.Resolve.Monitor.c
[389/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.UserDatabase.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.UserDatabase.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.UserDatabase.c.o -c ../src/shared/varlink-io.systemd.UserDatabase.c
[390/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.oom.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.oom.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.oom.c.o -c ../src/shared/varlink-io.systemd.oom.c
[391/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.service.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.service.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.service.c.o -c ../src/shared/varlink-io.systemd.service.c
[392/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-org.varlink.service.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-org.varlink.service.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-org.varlink.service.c.o -c ../src/shared/varlink-org.varlink.service.c
[393/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.sysext.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.sysext.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink-io.systemd.sysext.c.o -c ../src/shared/varlink-io.systemd.sysext.c
[394/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/volatile-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/volatile-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/volatile-util.c.o -c ../src/shared/volatile-util.c
[395/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/verb-log-control.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/verb-log-control.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/verb-log-control.c.o -c ../src/shared/verb-log-control.c
[396/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/vlan-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/vlan-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/vlan-util.c.o -c ../src/shared/vlan-util.c
[397/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/web-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/web-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/web-util.c.o -c ../src/shared/web-util.c
[398/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/verbs.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/verbs.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/verbs.c.o -c ../src/shared/verbs.c
[399/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/wifi-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/wifi-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/wifi-util.c.o -c ../src/shared/wifi-util.c
[400/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/xml.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/xml.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/xml.c.o -c ../src/shared/xml.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c: In function ‘xml_tokenize’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:61:21: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:61:21: note: (1) infinite loop here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:61:20: note: (2) if it ever follows ‘false’ branch, it will always do so... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:64:17: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:64:17: note: (4) if it ever follows ‘default:’ branch, it will always do so... <--[csmock-gcc-wrapper]
cc1: note: (5) ...to here
cc1: note: (6) looping back...
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/xml.c:61:21: note: (7) ...to here <--[csmock-gcc-wrapper]
[401/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/watchdog.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/watchdog.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/watchdog.c.o -c ../src/shared/watchdog.c
[402/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/varlink.c.o -c ../src/shared/varlink.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:8: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.h: In function ‘varlink_server_unrefp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:495:28: warning: leak of ‘s’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3211:5: note: (1) entry to ‘varlink_server_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (5) inlined call to ‘malloc_multiply’ from ‘varlink_server_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘varlink_server_new’ at ../src/shared/varlink.c:3218:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c: In function ‘varlink_server_unrefp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3219:12: note: (8) assuming ‘s’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3219:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3225:36: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3225:36: note: (11) calling ‘varlink_server_connections_max’ from ‘varlink_server_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3901:10: note: (12) entry to ‘varlink_server_connections_max’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3905:12: note: (13) following ‘false’ branch (when ‘s_11(D)’ is NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3908:15: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3912:47: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3225:36: note: (17) returning to ‘varlink_server_new’ from ‘varlink_server_connections_max’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3212:57: note: (18) calling ‘varlink_server_unrefp’ from ‘varlink_server_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.h:250:46: note: (19) entry to ‘varlink_server_unrefp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.h:250:46: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.h:250:46: note: (22) calling ‘varlink_server_unref’ from ‘varlink_server_unrefp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3263:46: note: (23) entry to ‘varlink_server_unref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:297:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:301:25: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:302:20: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (27) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.h:250:46: note: (28) returning to ‘varlink_server_unrefp’ from ‘varlink_server_unref’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:495:28: note: (29) ‘s’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c: In function ‘varlink_server_socket_free’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3409:16: warning: use of uninitialized value ‘ss_3(D)->address’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3988:5: note: (1) entry to ‘varlink_server_deserialize_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3999:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4001:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4004:14: note: (9) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4004:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4007:30: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4008:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4012:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4013:15: note: (15) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:95:17: note: (16) calling ‘memcpy_safe’ from ‘varlink_server_deserialize_one’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:23:21: note: (17) entry to ‘memcpy_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:24:12: note: (18) following ‘true’ branch (when ‘n_5(D) == 0’)... <--[csmock-gcc-wrapper]
cc1: note: (19) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:95:17: note: (20) returning to ‘varlink_server_deserialize_one’ from ‘memcpy_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4016:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4018:14: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4018:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (24) inlined call to ‘malloc_multiply’ from ‘varlink_server_deserialize_one’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘varlink_server_deserialize_one’ at ../src/shared/varlink.c:4022:14:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (26) region created on heap here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c: In function ‘varlink_server_socket_free’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4023:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:4029:23: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3989:69: note: (29) inlined call to ‘varlink_server_socket_freep’ from ‘varlink_server_deserialize_one’ <--[csmock-gcc-wrapper]
In function ‘varlink_server_socket_freep’,
inlined from ‘varlink_server_deserialize_one’ at ../src/shared/varlink.c:3989:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (30) following ‘true’ branch (when ‘ss_102’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3413:52: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3413:52: note: (32) calling ‘varlink_server_socket_free’ from ‘varlink_server_deserialize_one’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c: In function ‘varlink_server_socket_free’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3405:29: note: (33) entry to ‘varlink_server_socket_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3406:12: note: (34) following ‘false’ branch (when ‘ss_3(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3409:16: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3409:16: note: (36) use of uninitialized value ‘ss_3(D)->address’ here <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c: In function ‘varlink_server_bind_method’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:135:48: warning: leak of ‘strdup (method_26(D))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3771:5: note: (1) entry to ‘varlink_server_bind_method’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:58:22: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:173:21: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3779:13: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3779:13: note: (8) calling ‘varlink_symbol_in_interface’ from ‘varlink_server_bind_method’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3755:13: note: (9) entry to ‘varlink_symbol_in_interface’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3761:13: note: (13) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3779:13: note: (14) returning to ‘varlink_server_bind_method’ from ‘varlink_symbol_in_interface’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3779:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3780:13: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3780:13: note: (17) calling ‘varlink_symbol_in_interface’ from ‘varlink_server_bind_method’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3755:13: note: (18) entry to ‘varlink_symbol_in_interface’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3761:13: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3780:13: note: (23) returning to ‘varlink_server_bind_method’ from ‘varlink_symbol_in_interface’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3779:72: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3783:13: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3783:13: note: (26) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3784:12: note: (27) assuming ‘strdup (method_26(D))’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3784:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:135:48: note: (29) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3788:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3790:12: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3790:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/varlink.c:3792:12: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:135:48: note: (34) ‘strdup (method_26(D))’ leaks here; was allocated at (26) <--[csmock-gcc-wrapper]
[403/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/vpick.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/vpick.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/vpick.c.o -c ../src/shared/vpick.c
[404/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/devnode-acl.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/devnode-acl.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/devnode-acl.c.o -c ../src/shared/devnode-acl.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c: In function ‘devnode_acl_all’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:190:15: warning: leak of ‘opendir ("/run/udev/static_node-tags/uaccess")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:138:5: note: (1) entry to ‘devnode_acl_all’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:150:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:153:13: note: (3) inlined call to ‘isempty’ from ‘devnode_acl_all’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:9: <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘devnode_acl_all’ at ../src/shared/devnode-acl.c:153:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c: In function ‘devnode_acl_all’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:162:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/libsystemd/sd-device/device-util.h:55:34: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:190:15: note: (7) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/devnode-acl.c:190:15: note: (8) ‘opendir ("/run/udev/static_node-tags/uaccess")’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper]
[405/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/tests.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/tests.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/tests.c.o -c ../src/shared/tests.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c: In function ‘enter_cgroup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:321:1: warning: leak of ‘cgroup_subroot’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:283:12: note: (1) entry to ‘enter_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:288:13: note: (2) calling ‘allocate_scope’ from ‘enter_cgroup’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:206:12: note: (3) entry to ‘allocate_scope’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:223:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:226:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:227:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:230:13: note: (7) inlined call to ‘random_u64’ from ‘allocate_scope’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:28: <--[csmock-gcc-wrapper]
In function ‘random_u64’,
inlined from ‘allocate_scope’ at ../src/shared/tests.c:230:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/random-util.h:12:18: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c: In function ‘enter_cgroup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:210:54: note: (9) inlined call to ‘sd_bus_flush_close_unrefp’ from ‘allocate_scope’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-event.h:29, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/sd-bus.h:26, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:10: <--[csmock-gcc-wrapper]
In function ‘sd_bus_flush_close_unrefp’,
inlined from ‘allocate_scope’ at ../src/shared/tests.c:210:54:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/_sd-common.h:97:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c: In function ‘enter_cgroup’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:209:60: note: (11) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:207:69: note: (12) inlined call to ‘sd_bus_message_unrefp’ from ‘allocate_scope’ <--[csmock-gcc-wrapper]
In function ‘sd_bus_message_unrefp’,
inlined from ‘allocate_scope’ at ../src/shared/tests.c:207:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/systemd/_sd-common.h:97:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
In function ‘enter_cgroup’:
cc1: note: (14) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:288:13: note: (15) returning to ‘enter_cgroup’ from ‘allocate_scope’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:12: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (16) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:297:12: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:297:12: note: (20) following ‘false’ branch (when ‘enter_subroot_43(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:300:34: note: (21) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:300:34: note: (22) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (23) assuming ‘cgroup_subroot’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:304:19: note: (25) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:309:13: note: (27) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tests.c:321:1: note: (28) ‘cgroup_subroot’ leaks here; was allocated at (22) <--[csmock-gcc-wrapper]
[406/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/wall.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/wall.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/wall.c.o -c ../src/shared/wall.c
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/errno-util.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:9: <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&p]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:11: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/string-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/siphash24.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:6, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:12, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:8: <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:61:17: note: (25) inlined call to ‘utxent_start’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:17: <--[csmock-gcc-wrapper]
In function ‘utxent_start’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:61:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/utmp-wtmp.h:22:9: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:63:16: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:51: note: (30) inlined call to ‘isempty’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:68:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:38: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:20: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:10: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:83:36: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (36) inlined call to ‘freep’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (37) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:63:16: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (40) inlined call to ‘freep’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (41) second ‘free’ here; first ‘free’ was at (37) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&rhost]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (24) returning to ‘wall’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:182:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (27) calling ‘wall_logind’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:96:12: note: (28) entry to ‘wall_logind’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:107:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:108:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (35) following ‘case -61:, case -6:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:119:20: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (37) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (38) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (41) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (42) second ‘free’ here; first ‘free’ was at (38) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&rhost]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (24) returning to ‘wall’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:182:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (27) calling ‘wall_logind’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:96:12: note: (28) entry to ‘wall_logind’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:107:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:108:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (35) following ‘case -61:, case -6:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:119:20: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (37) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (38) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (41) following ‘case -61:, case -6:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:119:20: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (43) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (44) second ‘free’ here; first ‘free’ was at (38) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&rhost]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (24) returning to ‘wall’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:182:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:183:21: note: (27) calling ‘wall_logind’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:96:12: note: (28) entry to ‘wall_logind’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:107:13: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:108:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:147:37: note: (32) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (34) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (35) following ‘case -61:, case -6:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:119:20: note: (36) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (37) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (38) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_logind’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:104:49: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:56: note: (40) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (41) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:121:20: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:125:20: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:114:69: note: (44) inlined call to ‘freep’ from ‘wall_logind’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_logind’ at ../src/shared/wall.c:114:69:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (45) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (46) second ‘free’ here; first ‘free’ was at (38) <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: warning: double-‘free’ of ‘MEM[(void * *)&p]’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:61:17: note: (25) inlined call to ‘utxent_start’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘utxent_start’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:61:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/utmp-wtmp.h:22:9: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:63:16: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:51: note: (30) inlined call to ‘isempty’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:68:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:38: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:20: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:83:36: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (36) inlined call to ‘freep’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (37) first ‘free’ here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:63:16: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:51: note: (41) inlined call to ‘isempty’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:68:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (42) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘wall_utmp’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:38: note: (44) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:20: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:83:36: note: (46) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (47) inlined call to ‘freep’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘freep’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:64:38:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:397:17: note: (48) second ‘free’ here; first ‘free’ was at (37) <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘write_to_terminal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:30:14: warning: leak of file descriptor ‘*open64 (tty_15(D), 526593)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:142:5: note: (1) entry to ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (4) calling ‘gethostname_malloc’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:21:21: note: (5) entry to ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:24:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hostname-util.h:27:16: note: (7) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:154:20: note: (8) returning to ‘wall’ from ‘gethostname_malloc’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:155:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:158:12: note: (11) following ‘false’ branch (when ‘username_23(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:166:12: note: (13) following ‘false’ branch (when ‘origin_tty_26(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (14) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (15) inlined call to ‘strempty’ from ‘wall’ <--[csmock-gcc-wrapper]
In function ‘strempty’,
inlined from ‘wall’ at ../src/shared/wall.c:171:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:70:19: note: (16) following ‘true’ branch (when ‘origin_tty_9’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘write_to_terminal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:13: note: (17) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:171:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (19) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:181:13: note: (20) calling ‘wall_utmp’ from ‘wall’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:40:12: note: (21) entry to ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:13: note: (23) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:54:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:61:17: note: (25) inlined call to ‘utxent_start’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘utxent_start’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:61:17:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/utmp-wtmp.h:22:9: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘write_to_terminal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:63:16: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:64:38: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:68:51: note: (30) inlined call to ‘isempty’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
In function ‘isempty’,
inlined from ‘wall_utmp’ at ../src/shared/wall.c:68:51:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:23: note: (31) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/string-util-fundamental.h:66:19: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c: In function ‘write_to_terminal’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:38: note: (33) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:72:20: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:83:36: note: (35) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:86:39: note: (36) calling ‘write_to_terminal’ from ‘wall_utmp’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:24:12: note: (37) entry to ‘write_to_terminal’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (39) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:30:14: note: (41) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:30:14: note: (42) opened here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/wall.c:30:14: note: (43) ‘*open64 (tty_15(D), 526593)’ leaks here; was opened at (42) <--[csmock-gcc-wrapper]
[407/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/user-record.c.o -c ../src/shared/user-record.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c: In function ‘user_record_clone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:36:12: warning: leak of ‘user_record_new ()’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:2277:5: note: (1) entry to ‘user_record_clone’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/pidref.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:13, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:6: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:70:41: note: (3) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:2284:13: note: (5) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:2284:13: note: (6) calling ‘user_record_new’ from ‘user_record_clone’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:29:13: note: (7) entry to ‘user_record_new’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hash-funcs.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hashmap.h:8, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/set.h:5, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/cgroup-util.h:14: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:23:25: note: (8) inlined call to ‘malloc_multiply’ from ‘user_record_new’ <--[csmock-gcc-wrapper]
In function ‘malloc_multiply’,
inlined from ‘user_record_new’ at ../src/shared/user-record.c:32:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:119:16: note: (9) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c: In function ‘user_record_clone’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:33:12: note: (10) assuming ‘malloc (1040)’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:33:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:36:12: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:2284:13: note: (13) returning to ‘user_record_clone’ from ‘user_record_new’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/user-record.c:36:12: note: (14) ‘user_record_new ()’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper]
[408/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/utmp-wtmp.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/utmp-wtmp.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/utmp-wtmp.c.o -c ../src/shared/utmp-wtmp.c
[409/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/seccomp-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/seccomp-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/seccomp-util.c.o -c ../src/shared/seccomp-util.c
[410/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-link.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-link.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/bpf-link.c.o -c ../src/shared/bpf-link.c
[411/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/pam-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/pam-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/pam-util.c.o -c ../src/shared/pam-util.c
[412/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/nscd-flush.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/nscd-flush.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/nscd-flush.c.o -c ../src/shared/nscd-flush.c
[413/2523] rm -f src/basic/libbasic.a && gcc-ar csrDT src/basic/libbasic.a src/basic/libbasic.a.p/MurmurHash2.c.o src/basic/libbasic.a.p/af-list.c.o src/basic/libbasic.a.p/alloc-util.c.o src/basic/libbasic.a.p/architecture.c.o src/basic/libbasic.a.p/argv-util.c.o src/basic/libbasic.a.p/arphrd-util.c.o src/basic/libbasic.a.p/audit-util.c.o src/basic/libbasic.a.p/btrfs.c.o src/basic/libbasic.a.p/build.c.o src/basic/libbasic.a.p/build-path.c.o src/basic/libbasic.a.p/bus-label.c.o src/basic/libbasic.a.p/cap-list.c.o src/basic/libbasic.a.p/capability-util.c.o src/basic/libbasic.a.p/cgroup-util.c.o src/basic/libbasic.a.p/chase.c.o src/basic/libbasic.a.p/chattr-util.c.o src/basic/libbasic.a.p/compress.c.o src/basic/libbasic.a.p/conf-files.c.o src/basic/libbasic.a.p/confidential-virt.c.o src/basic/libbasic.a.p/devnum-util.c.o src/basic/libbasic.a.p/dirent-util.c.o src/basic/libbasic.a.p/dlfcn-util.c.o src/basic/libbasic.a.p/efivars.c.o src/basic/libbasic.a.p/env-file.c.o src/basic/libbasic.a.p/env-util.c.o src/basic/libbasic.a.p/errno-list.c.o src/basic/libbasic.a.p/escape.c.o src/basic/libbasic.a.p/ether-addr-util.c.o src/basic/libbasic.a.p/extract-word.c.o src/basic/libbasic.a.p/fd-util.c.o src/basic/libbasic.a.p/fileio.c.o src/basic/libbasic.a.p/filesystems.c.o src/basic/libbasic.a.p/format-util.c.o src/basic/libbasic.a.p/fs-util.c.o src/basic/libbasic.a.p/gcrypt-util.c.o src/basic/libbasic.a.p/glob-util.c.o src/basic/libbasic.a.p/glyph-util.c.o src/basic/libbasic.a.p/gunicode.c.o src/basic/libbasic.a.p/hash-funcs.c.o src/basic/libbasic.a.p/hashmap.c.o src/basic/libbasic.a.p/hexdecoct.c.o src/basic/libbasic.a.p/hmac.c.o src/basic/libbasic.a.p/hostname-util.c.o src/basic/libbasic.a.p/in-addr-util.c.o src/basic/libbasic.a.p/initrd-util.c.o src/basic/libbasic.a.p/inotify-util.c.o src/basic/libbasic.a.p/io-util.c.o src/basic/libbasic.a.p/ioprio-util.c.o src/basic/libbasic.a.p/iovec-util.c.o src/basic/libbasic.a.p/iovec-wrapper.c.o src/basic/libbasic.a.p/label.c.o src/basic/libbasic.a.p/limits-util.c.o src/basic/libbasic.a.p/locale-util.c.o src/basic/libbasic.a.p/lock-util.c.o src/basic/libbasic.a.p/log.c.o src/basic/libbasic.a.p/login-util.c.o src/basic/libbasic.a.p/keyring-util.c.o src/basic/libbasic.a.p/memfd-util.c.o src/basic/libbasic.a.p/memory-util.c.o src/basic/libbasic.a.p/mempool.c.o src/basic/libbasic.a.p/memstream-util.c.o src/basic/libbasic.a.p/mkdir.c.o src/basic/libbasic.a.p/mountpoint-util.c.o src/basic/libbasic.a.p/namespace-util.c.o src/basic/libbasic.a.p/nulstr-util.c.o src/basic/libbasic.a.p/ordered-set.c.o src/basic/libbasic.a.p/os-util.c.o src/basic/libbasic.a.p/parse-util.c.o src/basic/libbasic.a.p/path-lookup.c.o src/basic/libbasic.a.p/path-util.c.o src/basic/libbasic.a.p/percent-util.c.o src/basic/libbasic.a.p/pidref.c.o src/basic/libbasic.a.p/prioq.c.o src/basic/libbasic.a.p/proc-cmdline.c.o src/basic/libbasic.a.p/process-util.c.o src/basic/libbasic.a.p/procfs-util.c.o src/basic/libbasic.a.p/psi-util.c.o src/basic/libbasic.a.p/random-util.c.o src/basic/libbasic.a.p/ratelimit.c.o src/basic/libbasic.a.p/recurse-dir.c.o src/basic/libbasic.a.p/replace-var.c.o src/basic/libbasic.a.p/rlimit-util.c.o src/basic/libbasic.a.p/runtime-scope.c.o src/basic/libbasic.a.p/sha256.c.o src/basic/libbasic.a.p/sigbus.c.o src/basic/libbasic.a.p/signal-util.c.o src/basic/libbasic.a.p/siphash24.c.o src/basic/libbasic.a.p/socket-util.c.o src/basic/libbasic.a.p/sort-util.c.o src/basic/libbasic.a.p/stat-util.c.o src/basic/libbasic.a.p/strbuf.c.o src/basic/libbasic.a.p/string-table.c.o src/basic/libbasic.a.p/string-util.c.o src/basic/libbasic.a.p/strv.c.o src/basic/libbasic.a.p/strxcpyx.c.o src/basic/libbasic.a.p/sync-util.c.o src/basic/libbasic.a.p/sysctl-util.c.o src/basic/libbasic.a.p/syslog-util.c.o src/basic/libbasic.a.p/terminal-util.c.o src/basic/libbasic.a.p/time-util.c.o src/basic/libbasic.a.p/tmpfile-util.c.o src/basic/libbasic.a.p/uid-classification.c.o src/basic/libbasic.a.p/uid-range.c.o src/basic/libbasic.a.p/unit-def.c.o src/basic/libbasic.a.p/unit-file.c.o src/basic/libbasic.a.p/unit-name.c.o src/basic/libbasic.a.p/user-util.c.o src/basic/libbasic.a.p/utf8.c.o src/basic/libbasic.a.p/virt.c.o src/basic/libbasic.a.p/xattr-util.c.o src/basic/libbasic.a.p/.._fundamental_bootspec-fundamental.c.o src/basic/libbasic.a.p/.._fundamental_efivars-fundamental.c.o src/basic/libbasic.a.p/.._fundamental_sha256-fundamental.c.o src/basic/libbasic.a.p/.._fundamental_string-util-fundamental.c.o src/basic/libbasic.a.p/.._fundamental_uki.c.o
[414/2523] rm -f src/libsystemd/libsystemd_static.a && gcc-ar csrDT src/libsystemd/libsystemd_static.a src/libsystemd/libsystemd_static.a.p/sd-bus_bus-common-errors.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-container.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-control.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-convenience.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-creds.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-dump.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-error.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-internal.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-introspect.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-kernel.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-match.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-message.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-objects.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-signature.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-slot.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-socket.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-track.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_bus-type.c.o src/libsystemd/libsystemd_static.a.p/sd-bus_sd-bus.c.o src/libsystemd/libsystemd_static.a.p/sd-device_device-enumerator.c.o src/libsystemd/libsystemd_static.a.p/sd-device_device-filter.c.o src/libsystemd/libsystemd_static.a.p/sd-device_device-monitor.c.o src/libsystemd/libsystemd_static.a.p/sd-device_device-private.c.o src/libsystemd/libsystemd_static.a.p/sd-device_device-util.c.o src/libsystemd/libsystemd_static.a.p/sd-device_sd-device.c.o src/libsystemd/libsystemd_static.a.p/sd-hwdb_sd-hwdb.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-genl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-nfnl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-rtnl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-slot.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-socket.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-genl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-nfnl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-rtnl.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-util.c.o src/libsystemd/libsystemd_static.a.p/sd-netlink_sd-netlink.c.o src/libsystemd/libsystemd_static.a.p/sd-network_network-util.c.o src/libsystemd/libsystemd_static.a.p/sd-network_sd-network.c.o src/libsystemd/libsystemd_static.a.p/sd-path_sd-path.c.o src/libsystemd/libsystemd_static.a.p/sd-resolve_sd-resolve.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_audit-type.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_catalog.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-file.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-send.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-vacuum.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_journal-verify.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_lookup3.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_mmap-cache.c.o src/libsystemd/libsystemd_static.a.p/sd-journal_sd-journal.c.o src/libsystemd/libsystemd_static.a.p/sd-id128_id128-util.c.o src/libsystemd/libsystemd_static.a.p/sd-id128_sd-id128.c.o src/libsystemd/libsystemd_static.a.p/sd-daemon_sd-daemon.c.o src/libsystemd/libsystemd_static.a.p/sd-event_event-util.c.o src/libsystemd/libsystemd_static.a.p/sd-event_sd-event.c.o src/libsystemd/libsystemd_static.a.p/sd-login_sd-login.c.o
[415/2523] /usr/sbin/bpftool gen object src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.o src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.unstripped.o
FAILED: src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.o
/usr/sbin/bpftool gen object src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.o src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.unstripped.o
libbpf: failed to get ELF header for src/core/bpf/restrict_ifaces/restrict-ifaces.bpf.unstripped.o: invalid `Elf' handle
[416/2523] /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/tools/meson-render-jinja2.py config.h ../src/core/load-fragment-gperf.gperf.in src/core/load-fragment-gperf.gperf
[417/2523] /usr/sbin/bpftool gen object src/core/bpf/restrict_fs/restrict-fs.bpf.o src/core/bpf/restrict_fs/restrict-fs.bpf.unstripped.o
FAILED: src/core/bpf/restrict_fs/restrict-fs.bpf.o
/usr/sbin/bpftool gen object src/core/bpf/restrict_fs/restrict-fs.bpf.o src/core/bpf/restrict_fs/restrict-fs.bpf.unstripped.o
libbpf: failed to get ELF header for src/core/bpf/restrict_fs/restrict-fs.bpf.unstripped.o: invalid `Elf' handle
[418/2523] /usr/sbin/bpftool gen object src/core/bpf/socket_bind/socket-bind.bpf.o src/core/bpf/socket_bind/socket-bind.bpf.unstripped.o
FAILED: src/core/bpf/socket_bind/socket-bind.bpf.o
/usr/sbin/bpftool gen object src/core/bpf/socket_bind/socket-bind.bpf.o src/core/bpf/socket_bind/socket-bind.bpf.unstripped.o
libbpf: failed to get ELF header for src/core/bpf/socket_bind/socket-bind.bpf.unstripped.o: invalid `Elf' handle
[419/2523] /usr/bin/meson --internal exe --capture src/resolve/dns_type-list.txt -- /usr/bin/sed -n -r -f ../src/resolve/generate-dns_type-list.sed ../src/resolve/dns-type.h
[420/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-fido2.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-fido2.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-fido2.c.o -c ../src/shared/cryptsetup-fido2.c
[421/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-tpm2.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-tpm2.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/cryptsetup-tpm2.c.o -c ../src/shared/cryptsetup-tpm2.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:219:1: warning: leak of ‘pin_str’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:59:5: note: (1) entry to ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:91:12: note: (2) following ‘false’ branch (when ‘device_82(D)’ is non-NULL)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:101:13: note: (3) inlined call to ‘iovec_is_set’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/openssl-util.h:4, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tpm2-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:5: <--[csmock-gcc-wrapper]
In function ‘iovec_is_set’,
inlined from ‘acquire_tpm2_key’ at ../src/shared/cryptsetup-tpm2.c:101:13:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:61:44: note: (4) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:61:44: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:102:22: note: (6) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:123:12: note: (7) following ‘false’ branch (when ‘pubkey_pcr_mask_107(D) == 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:129:63: note: (8) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:133:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:135:20: note: (10) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:147:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:150:21: note: (12) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:150:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (14) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:173:20: note: (15) following ‘false’ branch (when ‘i_35 != 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:176:21: note: (16) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:176:21: note: (17) calling ‘get_pin’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:15:12: note: (18) entry to ‘get_pin’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:10, <--[csmock-gcc-wrapper]
from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:3: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:26:13: note: (20) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:27:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:29:12: note: (22) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:29:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:13: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:482:27: note: (24) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:30:20: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:36:36: note: (26) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:45:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:47:24: note: (28) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:148:20: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:49:27: note: (30) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:49:27: note: (31) allocated here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:50:20: note: (32) assuming ‘pin_str’ is non-NULL <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:50:20: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper]
cc1: note: (34) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:21:42: note: (35) calling ‘strv_free_erasep’ from ‘get_pin’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:32:37: note: (36) entry to ‘strv_free_erasep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:494:20: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/strv.h:32:37: note: (38) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:21:42: note: (39) returning to ‘get_pin’ from ‘strv_free_erasep’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:20:42: note: (40) inlined call to ‘erase_and_freep’ from ‘get_pin’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/alloc-util.h:276: <--[csmock-gcc-wrapper]
In function ‘erase_and_freep’,
inlined from ‘get_pin’ at ../src/shared/cryptsetup-tpm2.c:20:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:103:9: note: (41) calling ‘erase_and_free’ from ‘get_pin’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:91:21: note: (42) entry to ‘erase_and_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:94:12: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper]
cc1: note: (44) ...to here
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:20:42: note: (45) inlined call to ‘erase_and_freep’ from ‘get_pin’ <--[csmock-gcc-wrapper]
In function ‘erase_and_freep’,
inlined from ‘get_pin’ at ../src/shared/cryptsetup-tpm2.c:20:42:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:103:9: note: (46) returning to ‘get_pin’ from ‘erase_and_free’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:176:21: note: (47) returning to ‘acquire_tpm2_key’ from ‘get_pin’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:177:20: note: (48) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:180:21: note: (49) inlined call to ‘iovec_is_set’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
In function ‘iovec_is_set’,
inlined from ‘acquire_tpm2_key’ at ../src/shared/cryptsetup-tpm2.c:180:21:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:61:44: note: (50) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/iovec-util.h:61:44: note: (51) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:181:33: note: (52) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:185:28: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:188:29: note: (54) inlined call to ‘base64mem’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:8: <--[csmock-gcc-wrapper]
In function ‘base64mem’,
inlined from ‘acquire_tpm2_key’ at ../src/shared/cryptsetup-tpm2.c:188:29:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/hexdecoct.h:38:16: note: (55) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:189:28: note: (56) following ‘false’ branch (when ‘r_144 >= 0’)... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:50:68: note: (57) inlined call to ‘erase_var’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/memory-util.h:12: <--[csmock-gcc-wrapper]
In function ‘erase_var’,
inlined from ‘acquire_tpm2_key’ at ../src/shared/cryptsetup-tpm2.c:182:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:45:9: note: (58) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:45:9: note: (59) calling ‘explicit_bzero_safe’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:21:21: note: (60) entry to ‘explicit_bzero_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:22:12: note: (61) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:23:17: note: (62) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:50:68: note: (63) inlined call to ‘erase_var’ from ‘acquire_tpm2_key’ <--[csmock-gcc-wrapper]
In function ‘erase_var’,
inlined from ‘acquire_tpm2_key’ at ../src/shared/cryptsetup-tpm2.c:182:25:
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/memory-util-fundamental.h:45:9: note: (64) returning to ‘acquire_tpm2_key’ from ‘explicit_bzero_safe’ <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c: In function ‘acquire_tpm2_key’: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:195:21: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:195:21: note: (66) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:208:20: note: (67) following ‘true’ branch... <--[csmock-gcc-wrapper]
In file included from /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/macro.h:402: <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/basic/log.h:215:23: note: (68) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/fundamental/macro-fundamental.h:363:17: note: (69) following ‘default:’ branch... <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:213:28: note: (70) ...to here <--[csmock-gcc-wrapper]
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/cryptsetup-tpm2.c:219:1: note: (71) ‘pin_str’ leaks here; was allocated at (31) <--[csmock-gcc-wrapper]
[422/2523] gcc -Isrc/shared/libsystemd-shared-256.7-1.fc42.a.p -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I. -I.. -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays=3 --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-util.c.o -MF src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-util.c.o.d -o src/shared/libsystemd-shared-256.7-1.fc42.a.p/tpm2-util.c.o -c ../src/shared/tpm2-util.c
/builddir/build/BUILD/systemd-256.7-build/systemd-256.7/src/shared/tpm2-util.c: internal warning: child 6613 timed out after 30s <--[csmock-gcc-wrapper]
cswrap: error: child 6613 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out)
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/systemd-256.7-build/systemd-256.7/redhat-linux-build -j 8 -v
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.jzoOtk (%build)
Bad exit status from /var/tmp/rpm-tmp.jzoOtk (%build)
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas:-flto=auto\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'-flto=auto\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/systemd.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
!!! 2024-11-19 09:12:33 error: %build failed
>>> 2024-11-19 09:12:33 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
scan.ini: time-finished = 2024-11-19 09:12:39
scan.ini: exit-code = 1
<<< 2024-11-19 09:12:39 csmock exit code: 1