scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxoq8qzff/libssh-0.11.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxoq8qzff/libssh-0.11.1-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-86.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpxoq8qzff/libssh-0.11.1-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 01:48:01 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = libssh-0.11.1-1.fc42 >>> 2024-11-13 01:48:01 rpm -qa | sort -V > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 01:48:01 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-11-13 01:48:03 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1724976000 Wrote: /builddir/build/SRPMS/libssh-0.11.1-1.fc42.src.rpm Updating and loading repositories: Copr repository 100% | 4.8 KiB/s | 1.5 KiB | 00m00s fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package "pkgconf-pkg-config-2.3.0-1.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: cmake x86_64 3.30.5-1.fc42 fedora 32.7 MiB gcc-c++ x86_64 14.2.1-6.fc42 fedora 38.1 MiB gnupg2 x86_64 2.4.5-3.fc41 fedora 9.5 MiB gnutls-utils x86_64 3.8.8-1.fc42 fedora 1.3 MiB krb5-devel x86_64 1.21.3-3.fc42 fedora 705.9 KiB krb5-server x86_64 1.21.3-3.fc42 fedora 755.3 KiB krb5-workstation x86_64 1.21.3-3.fc42 fedora 2.5 MiB libcmocka-devel x86_64 1.1.7-5.fc41 fedora 84.8 KiB nmap-ncat x86_64 4:7.92-3.fc41 fedora 465.5 KiB nss_wrapper x86_64 1.1.16-2.fc41 fedora 14.4 KiB opensc x86_64 0.25.1-5.fc42 fedora 3.5 MiB openssh-clients x86_64 9.9p1-5.fc42 fedora 2.7 MiB openssh-server x86_64 9.9p1-5.fc42 fedora 1.4 MiB openssl-devel x86_64 1:3.2.2-8.fc42 fedora 4.3 MiB p11-kit-devel x86_64 0.25.5-4.fc42 fedora 554.2 KiB p11-kit-server x86_64 0.25.5-4.fc42 fedora 1.2 MiB pam_wrapper x86_64 1.1.7-1.fc41 fedora 109.7 KiB pkcs11-provider x86_64 0.5-3.fc41 fedora 313.6 KiB priv_wrapper x86_64 1.0.1-8.fc41 fedora 52.5 KiB socket_wrapper x86_64 1.4.1-2.fc41 fedora 95.0 KiB softhsm x86_64 2.6.1-10.fc42.1 fedora 1.5 MiB uid_wrapper x86_64 1.3.1-2.fc41 fedora 81.2 KiB zlib-ng-compat-devel x86_64 2.2.2-1.fc42 fedora 106.8 KiB Installing dependencies: annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB cmake-data noarch 3.30.5-1.fc42 fedora 8.2 MiB cmake-filesystem x86_64 3.30.5-1.fc42 fedora 0.0 B cmake-rpm-macros noarch 3.30.5-1.fc42 fedora 7.5 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB dbus x86_64 1:1.14.10-4.fc41 fedora 0.0 B dbus-broker x86_64 36-4.fc41 fedora 382.8 KiB dbus-common noarch 1:1.14.10-4.fc41 fedora 11.2 KiB duktape x86_64 2.7.0-8.fc41 fedora 616.2 KiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glib2 x86_64 2.83.0-1.fc42 fedora 14.7 MiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB gnutls x86_64 3.8.8-1.fc42 fedora 3.2 MiB gnutls-dane x86_64 3.8.8-1.fc42 fedora 70.0 KiB groff-base x86_64 1.23.0-7.fc41 fedora 3.8 MiB hiredis x86_64 1.2.0-4.fc42 fedora 114.0 KiB jsoncpp x86_64 1.9.5-8.fc41 fedora 253.4 KiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB keyutils-libs-devel x86_64 1.6.3-4.fc41 fedora 48.2 KiB krb5-pkinit x86_64 1.21.3-3.fc42 fedora 117.5 KiB libassuan x86_64 2.5.7-2.fc41 fedora 163.8 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libcbor x86_64 0.11.0-2.fc41 fedora 73.9 KiB libcmocka x86_64 1.1.7-5.fc41 fedora 69.0 KiB libcom_err-devel x86_64 1.47.1-6.fc42 fedora 16.7 KiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libev x86_64 4.33-12.fc41 fedora 109.3 KiB libfido2 x86_64 1.15.0-2.fc41 fedora 238.2 KiB libgcrypt x86_64 1.11.0-4.fc42 fedora 1.5 MiB libgpg-error x86_64 1.50-2.fc41 fedora 889.5 KiB libibverbs x86_64 51.0-4.fc41 fedora 1.2 MiB libkadm5 x86_64 1.21.3-3.fc42 fedora 211.6 KiB libksba x86_64 1.6.7-2.fc41 fedora 398.4 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libnl3 x86_64 3.11.0-1.fc42 fedora 1.0 MiB libpcap x86_64 14:1.10.5-1.fc42 fedora 415.4 KiB libseccomp x86_64 2.5.5-2.fc41 fedora 173.3 KiB libselinux-devel x86_64 3.7-6.fc42 fedora 126.5 KiB libsepol-devel x86_64 3.7-3.fc42 fedora 120.3 KiB libss x86_64 1.47.1-6.fc42 fedora 75.3 KiB libstdc++-devel x86_64 14.2.1-6.fc42 fedora 15.4 MiB libusb1 x86_64 1.0.27-4.fc42 fedora 170.6 KiB libuv x86_64 1:1.49.2-1.fc42 fedora 569.4 KiB libverto-devel x86_64 0.3.2-9.fc41 fedora 25.7 KiB libverto-libev x86_64 0.3.2-9.fc41 fedora 15.7 KiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB lmdb-libs x86_64 0.9.33-2.fc41 fedora 109.6 KiB logrotate x86_64 3.22.0-2.fc41 fedora 153.1 KiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB ncurses x86_64 6.5-2.20240629.fc41 fedora 627.3 KiB nettle x86_64 3.10-3.fc41 fedora 793.0 KiB npth x86_64 1.7-2.fc41 fedora 49.6 KiB nss_wrapper-libs x86_64 1.1.16-2.fc41 fedora 78.5 KiB openpace x86_64 1.1.3-2.fc41 fedora 312.1 KiB openssh x86_64 9.9p1-5.fc42 fedora 1.4 MiB pcre2-devel x86_64 10.44-1.fc41.1 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41.1 fedora 590.1 KiB pcre2-utf32 x86_64 10.44-1.fc41.1 fedora 562.0 KiB pcsc-lite x86_64 2.3.0-1.fc41 fedora 220.1 KiB pcsc-lite-ccid x86_64 1.6.1-2.fc41 fedora 404.2 KiB pcsc-lite-libs x86_64 2.3.0-1.fc41 fedora 68.0 KiB perl-AutoLoader noarch 5.74-512.fc42 fedora 20.5 KiB perl-B x86_64 1.89-512.fc42 fedora 498.0 KiB perl-Carp noarch 1.54-511.fc41 fedora 46.6 KiB perl-Class-Struct noarch 0.68-512.fc42 fedora 25.4 KiB perl-Data-Dumper x86_64 2.189-512.fc41 fedora 111.7 KiB perl-Digest noarch 1.20-511.fc41 fedora 35.3 KiB perl-Digest-MD5 x86_64 2.59-5.fc41 fedora 59.8 KiB perl-DynaLoader x86_64 1.56-512.fc42 fedora 32.1 KiB perl-Encode x86_64 4:3.21-511.fc41 fedora 4.7 MiB perl-Errno x86_64 1.38-512.fc42 fedora 8.4 KiB perl-Exporter noarch 5.78-511.fc41 fedora 54.3 KiB perl-Fcntl x86_64 1.18-512.fc42 fedora 49.0 KiB perl-File-Basename noarch 2.86-512.fc42 fedora 14.0 KiB perl-File-Path noarch 2.18-511.fc41 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-511.fc41 fedora 162.3 KiB perl-File-stat noarch 1.14-512.fc42 fedora 12.5 KiB perl-FileHandle noarch 2.05-512.fc42 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.58-2.fc41 fedora 144.5 KiB perl-Getopt-Std noarch 1.14-512.fc42 fedora 11.2 KiB perl-HTTP-Tiny noarch 0.088-512.fc41 fedora 152.2 KiB perl-IO x86_64 1.55-512.fc42 fedora 151.1 KiB perl-IO-Socket-IP noarch 0.42-512.fc41 fedora 98.7 KiB perl-IO-Socket-SSL noarch 2.089-1.fc42 fedora 703.3 KiB perl-IPC-Open3 noarch 1.22-512.fc42 fedora 22.5 KiB perl-MIME-Base32 noarch 1.303-21.fc41 fedora 30.7 KiB perl-MIME-Base64 x86_64 3.16-511.fc41 fedora 46.1 KiB perl-Mozilla-CA noarch 20240924-1.fc42 fedora 10.3 KiB perl-Net-SSLeay x86_64 1.94-7.fc41 fedora 1.3 MiB perl-POSIX x86_64 2.20-512.fc42 fedora 235.1 KiB perl-PathTools x86_64 3.91-511.fc41 fedora 180.0 KiB perl-Pod-Escapes noarch 1:1.07-511.fc41 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-512.fc41 fedora 163.7 KiB perl-Pod-Simple noarch 1:3.45-511.fc41 fedora 560.9 KiB perl-Pod-Usage noarch 4:2.03-511.fc41 fedora 84.8 KiB perl-Scalar-List-Utils x86_64 5:1.68-1.fc42 fedora 148.9 KiB perl-SelectSaver noarch 1.02-512.fc42 fedora 2.2 KiB perl-Socket x86_64 4:2.038-511.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-511.fc41 fedora 232.4 KiB perl-Symbol noarch 1.09-512.fc42 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-512.fc41 fedora 97.5 KiB perl-Term-Cap noarch 1.18-511.fc41 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-511.fc41 fedora 13.6 KiB perl-Text-Tabs+Wrap noarch 2024.001-511.fc41 fedora 22.6 KiB perl-Time-Local noarch 2:1.350-511.fc41 fedora 69.0 KiB perl-URI noarch 5.31-1.fc42 fedora 257.0 KiB perl-base noarch 2.27-512.fc42 fedora 12.5 KiB perl-constant noarch 1.33-512.fc41 fedora 26.2 KiB perl-if noarch 0.61.000-512.fc42 fedora 5.8 KiB perl-interpreter x86_64 4:5.40.0-512.fc42 fedora 122.3 KiB perl-libnet noarch 3.15-512.fc41 fedora 289.4 KiB perl-libs x86_64 4:5.40.0-512.fc42 fedora 9.9 MiB perl-locale noarch 1.12-512.fc42 fedora 6.5 KiB perl-mro x86_64 1.29-512.fc42 fedora 45.6 KiB perl-overload noarch 1.37-512.fc42 fedora 71.5 KiB perl-overloading noarch 0.02-512.fc42 fedora 4.8 KiB perl-parent noarch 1:0.242-1.fc42 fedora 10.0 KiB perl-podlators noarch 1:6.0.2-2.fc41 fedora 317.5 KiB perl-vars noarch 1.05-512.fc42 fedora 3.9 KiB polkit x86_64 125-3.fc42 fedora 461.9 KiB polkit-libs x86_64 125-3.fc42 fedora 200.9 KiB protobuf-c x86_64 1.5.0-4.fc41 fedora 54.0 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB rhash x86_64 1.4.5-1.fc42 fedora 359.3 KiB systemd x86_64 257~rc1-2.fc42 fedora 17.4 MiB systemd-pam x86_64 257~rc1-2.fc42 fedora 1.1 MiB systemd-rpm-macros noarch 257~rc1-2.fc42 fedora 10.7 KiB tpm2-tss x86_64 4.1.3-3.fc41 fedora 1.6 MiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB unbound-libs x86_64 1.22.0-1.fc42 fedora 1.4 MiB vim-filesystem noarch 2:9.1.825-1.fc42 fedora 40.0 B words noarch 3.0-60.fc42 fedora 4.7 MiB Transaction Summary: Installing: 162 packages Total size of inbound packages is 132 MiB. Need to download 2 MiB. After this operation, 408 MiB extra will be used (install 408 MiB, remove 0 B). [1/1] gnupg2-0:2.4.5-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] gnutls-utils-0:3.8.8-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] nmap-ncat-4:7.92-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/6] nss_wrapper-0:1.1.16-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/7] openssh-clients-0:9.9p1-5.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/8] openssh-server-0:9.9p1-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/9] p11-kit-server-0:0.25.5-4.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/10] pkcs11-provider-0:0.5-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/11] softhsm-0:2.6.1-10.fc42.1.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/12] cmake-0:3.30.5-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/13] gcc-c++-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/14] krb5-devel-0:1.21.3-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/15] libcmocka-devel-0:1.1.7-5.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/16] opensc-0:0.25.1-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/17] openssl-devel-1:3.2.2-8.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/18] p11-kit-devel-0:0.25.5-4.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/19] pam_wrapper-0:1.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/20] priv_wrapper-0:1.0.1-8.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/21] socket_wrapper-0:1.4.1-2.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/22] uid_wrapper-0:1.3.1-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/23] zlib-ng-compat-devel-0:2.2.2-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/24] gnutls-0:3.8.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/25] libassuan-0:2.5.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/26] libgcrypt-0:1.11.0-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/27] libgpg-error-0:1.50-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/28] libksba-0:1.6.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/29] npth-0:1.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/30] tpm2-tss-0:4.1.3-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/31] gnutls-dane-0:3.8.8-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/33] libkadm5-0:1.21.3-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/38] libpcap-14:1.10.5-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/39] cmake-filesystem-0:3.30.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/40] nss_wrapper-libs-0:1.1.16-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/41] perl-Getopt-Long-1:2.58-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/42] perl-PathTools-0:3.91-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/43] perl-interpreter-4:5.40.0-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/44] libedit-0:3.1-53.20240808cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/45] libfido2-0:1.15.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/46] openssh-0:9.9p1-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/47] cmake-data-0:3.30.5-1.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/48] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/49] jsoncpp-0:1.9.5-8.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [41/50] libuv-1:1.49.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [42/51] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [43/52] rhash-0:1.4.5-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [44/53] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [45/54] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [46/55] libcmocka-0:1.1.7-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [47/56] openpace-0:1.1.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [48/57] pcsc-lite-0:2.3.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [49/58] pcsc-lite-libs-0:2.3.0-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [50/59] nettle-0:3.10-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [51/60] unbound-libs-0:1.22.0-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [52/61] libibverbs-0:51.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [53/62] perl-Exporter-0:5.78-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [54/63] perl-Pod-Usage-4:2.03-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [55/64] perl-Text-ParseWords-0:3.31-511 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [56/65] perl-base-0:2.27-512.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [57/66] perl-constant-0:1.33-512.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [58/67] perl-overload-0:1.37-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [59/68] perl-Carp-0:1.54-511.fc41.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [60/69] perl-Errno-0:1.38-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [61/70] perl-Scalar-List-Utils-5:1.68-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [62/71] perl-libs-4:5.40.0-512.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [63/72] libcbor-0:0.11.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [64/73] emacs-filesystem-1:30.0-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [65/74] vim-filesystem-2:9.1.825-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [66/75] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [67/76] glib2-0:2.83.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [68/77] polkit-0:125-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [69/78] polkit-libs-0:125-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [70/79] hiredis-0:1.2.0-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [71/80] protobuf-c-0:1.5.0-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [72/81] python3-libs-0:3.13.0-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [73/82] libnl3-0:3.11.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [74/83] perl-Pod-Perldoc-0:3.28.01-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [75/84] perl-podlators-1:6.0.2-2.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [76/85] perl-mro-0:1.29-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [77/86] perl-overloading-0:0.02-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [78/87] perl-DynaLoader-0:1.56-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [79/88] dbus-1:1.14.10-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [80/89] duktape-0:2.7.0-8.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [81/90] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [82/91] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [83/92] python-pip-wheel-0:24.2-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [84/93] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [85/94] groff-base-0:1.23.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [86/95] perl-Fcntl-0:1.18-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [87/96] perl-File-Basename-0:2.86-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [88/97] perl-File-Temp-1:0.231.100-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [89/98] perl-HTTP-Tiny-0:0.088-512.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [90/99] perl-IO-0:1.55-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/100] perl-IPC-Open3-0:1.22-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/101] perl-Pod-Simple-1:3.45-511.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/102] perl-Symbol-0:1.09-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/103] perl-parent-1:0.242-1.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/104] perl-vars-0:1.05-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/105] perl-POSIX-0:2.20-512.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/106] perl-Term-ANSIColor-0:5.01-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/107] perl-Term-Cap-0:1.18-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/108] dbus-broker-0:36-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/109] perl-File-Path-0:2.18-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/110] perl-IO-Socket-SSL-0:2.089-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/111] perl-MIME-Base64-0:3.16-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/112] perl-Mozilla-CA-0:20240924-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/113] perl-Net-SSLeay-0:1.94-7.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/114] perl-Socket-4:2.038-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/115] perl-Time-Local-2:1.350-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/116] perl-File-stat-0:1.14-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/117] perl-SelectSaver-0:1.02-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/118] perl-Pod-Escapes-1:1.07-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/119] perl-Text-Tabs+Wrap-0:2024.00 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/120] perl-if-0:0.61.000-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/121] perl-locale-0:1.12-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/122] ncurses-0:6.5-2.20240629.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/123] dbus-common-1:1.14.10-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/124] perl-IO-Socket-IP-0:0.42-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/125] perl-URI-0:5.31-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/126] perl-AutoLoader-0:5.74-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/127] perl-Class-Struct-0:0.68-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/128] perl-Data-Dumper-0:2.189-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/129] perl-MIME-Base32-0:1.303-21.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/130] perl-libnet-0:3.15-512.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/131] perl-B-0:1.89-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/132] perl-Digest-MD5-0:2.59-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/133] perl-FileHandle-0:2.05-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/134] perl-Digest-0:1.20-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/135] systemd-0:257~rc1-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/136] libseccomp-0:2.5.5-2.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/137] systemd-pam-0:257~rc1-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/138] perl-Encode-4:3.21-511.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/139] perl-Getopt-Std-0:1.14-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/140] perl-Storable-1:3.32-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/141] pcsc-lite-ccid-0:1.6.1-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/142] libusb1-0:1.0.27-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/143] python3-0:3.13.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/144] keyutils-libs-devel-0:1.6.3-4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/145] libcom_err-devel-0:1.47.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/146] libselinux-devel-0:3.7-6.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/147] libsepol-devel-0:3.7-3.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/148] libverto-devel-0:0.3.2-9.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/149] libstdc++-devel-0:14.2.1-6.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/150] glibc-devel-0:2.40.9000-16.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/151] libxcrypt-devel-0:4.4.36-10.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/152] pcre2-devel-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/153] pcre2-utf16-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/154] pcre2-utf32-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/155] kernel-headers-0:6.12.0-0.rc7 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/158] annobin-plugin-gcc-0:12.70-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/159] gcc-plugin-annobin-0:14.2.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/160] annobin-docs-0:12.70-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/161] systemd-rpm-macros-0:257~rc1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/162] cmake-rpm-macros-0:3.30.5-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/162] krb5-pkinit-0:1.21.3-3.fc42.x 100% | 913.3 KiB/s | 59.4 KiB | 00m00s [153/162] krb5-server-0:1.21.3-3.fc42.x 100% | 3.6 MiB/s | 306.9 KiB | 00m00s [154/162] libss-0:1.47.1-6.fc42.x86_64 100% | 1.6 MiB/s | 32.0 KiB | 00m00s [155/162] lmdb-libs-0:0.9.33-2.fc41.x86 100% | 3.5 MiB/s | 61.7 KiB | 00m00s [156/162] logrotate-0:3.22.0-2.fc41.x86 100% | 3.2 MiB/s | 75.9 KiB | 00m00s [157/162] libverto-libev-0:0.3.2-9.fc41 100% | 680.7 KiB/s | 12.9 KiB | 00m00s [158/162] words-0:3.0-60.fc42.noarch 100% | 17.5 MiB/s | 1.2 MiB | 00m00s [159/162] libev-0:4.33-12.fc41.x86_64 100% | 774.1 KiB/s | 52.6 KiB | 00m00s [160/162] krb5-workstation-0:1.21.3-3.f 100% | 543.7 KiB/s | 423.0 KiB | 00m01s -------------------------------------------------------------------------------- [162/162] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/164] Verify package files 100% | 369.0 B/s | 162.0 B | 00m00s [ 2/164] Prepare transaction 100% | 1.3 KiB/s | 162.0 B | 00m00s [ 3/164] Installing cmake-filesystem-0 100% | 1.4 MiB/s | 7.3 KiB | 00m00s [ 4/164] Installing expat-0:2.6.4-1.fc 100% | 56.2 MiB/s | 287.6 KiB | 00m00s [ 5/164] Installing libgpg-error-0:1.5 100% | 109.3 MiB/s | 895.4 KiB | 00m00s [ 6/164] Installing libmpc-0:1.3.1-6.f 100% | 54.1 MiB/s | 166.2 KiB | 00m00s [ 7/164] Installing libkadm5-0:1.21.3- 100% | 52.1 MiB/s | 213.6 KiB | 00m00s [ 8/164] Installing nettle-0:3.10-3.fc 100% | 155.5 MiB/s | 796.1 KiB | 00m00s [ 9/164] Installing gnutls-0:3.8.8-1.f 100% | 216.6 MiB/s | 3.2 MiB | 00m00s [ 10/164] Installing glib2-0:2.83.0-1.f 100% | 282.6 MiB/s | 14.7 MiB | 00m00s [ 11/164] Installing polkit-libs-0:125- 100% | 65.9 MiB/s | 202.5 KiB | 00m00s [ 12/164] Installing pcsc-lite-libs-0:2 100% | 22.6 MiB/s | 69.5 KiB | 00m00s [ 13/164] Installing make-1:4.4.1-9.fc4 100% | 180.0 MiB/s | 1.8 MiB | 00m00s [ 14/164] Installing openssh-0:9.9p1-5. 100% | 197.1 MiB/s | 1.4 MiB | 00m00s [ 15/164] Installing libss-0:1.47.1-6.f 100% | 37.3 MiB/s | 76.4 KiB | 00m00s [ 16/164] Installing krb5-pkinit-0:1.21 100% | 38.6 MiB/s | 118.6 KiB | 00m00s [ 17/164] Installing cpp-0:14.2.1-6.fc4 100% | 309.5 MiB/s | 35.0 MiB | 00m00s [ 18/164] Installing libassuan-0:2.5.7- 100% | 53.9 MiB/s | 165.6 KiB | 00m00s [ 19/164] Installing libgcrypt-0:1.11.0 100% | 221.4 MiB/s | 1.6 MiB | 00m00s [ 20/164] Installing libksba-0:1.6.7-2. 100% | 97.9 MiB/s | 401.0 KiB | 00m00s [ 21/164] Installing annobin-docs-0:12. 100% | 48.2 MiB/s | 98.8 KiB | 00m00s [ 22/164] Installing libev-0:4.33-12.fc 100% | 27.0 MiB/s | 110.8 KiB | 00m00s [ 23/164] Installing libverto-libev-0:0 100% | 4.0 MiB/s | 16.5 KiB | 00m00s [ 24/164] Installing kernel-headers-0:6 100% | 109.9 MiB/s | 6.6 MiB | 00m00s [ 25/164] Installing libxcrypt-devel-0: 100% | 6.4 MiB/s | 32.9 KiB | 00m00s [ 26/164] Installing glibc-devel-0:2.40 100% | 83.2 MiB/s | 2.3 MiB | 00m00s [ 27/164] Installing gcc-0:14.2.1-6.fc4 100% | 346.5 MiB/s | 104.3 MiB | 00m00s [ 28/164] Installing pcre2-utf32-0:10.4 100% | 137.4 MiB/s | 562.8 KiB | 00m00s [ 29/164] Installing pcre2-utf16-0:10.4 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [ 30/164] Installing pcre2-devel-0:10.4 100% | 124.7 MiB/s | 2.0 MiB | 00m00s [ 31/164] Installing libstdc++-devel-0: 100% | 232.2 MiB/s | 15.6 MiB | 00m00s [ 32/164] Installing libverto-devel-0:0 100% | 12.9 MiB/s | 26.4 KiB | 00m00s [ 33/164] Installing libsepol-devel-0:3 100% | 25.0 MiB/s | 127.8 KiB | 00m00s [ 34/164] Installing libselinux-devel-0 100% | 14.3 MiB/s | 161.3 KiB | 00m00s [ 35/164] Installing libcom_err-devel-0 100% | 5.9 MiB/s | 18.3 KiB | 00m00s [ 36/164] Installing keyutils-libs-deve 100% | 13.5 MiB/s | 55.2 KiB | 00m00s [ 37/164] Installing libusb1-0:1.0.27-4 100% | 56.1 MiB/s | 172.3 KiB | 00m00s [ 38/164] Installing libseccomp-0:2.5.5 100% | 57.0 MiB/s | 175.2 KiB | 00m00s [ 39/164] Installing dbus-common-1:1.14 100% | 451.7 KiB/s | 13.6 KiB | 00m00s [ 40/164] Installing dbus-broker-0:36-4 100% | 37.6 MiB/s | 385.3 KiB | 00m00s [ 41/164] Installing dbus-1:1.14.10-4.f 100% | 60.5 KiB/s | 124.0 B | 00m00s [ 42/164] Installing systemd-pam-0:257~ 100% | 123.8 MiB/s | 1.1 MiB | 00m00s [ 43/164] Installing systemd-0:257~rc1- 100% | 92.0 MiB/s | 17.6 MiB | 00m00s [ 44/164] Installing logrotate-0:3.22.0 100% | 10.1 MiB/s | 155.7 KiB | 00m00s [ 45/164] Installing ncurses-0:6.5-2.20 100% | 47.6 MiB/s | 633.9 KiB | 00m00s [ 46/164] Installing groff-base-0:1.23. 100% | 138.3 MiB/s | 3.9 MiB | 00m00s [ 47/164] Installing perl-Digest-0:1.20 100% | 12.1 MiB/s | 37.1 KiB | 00m00s [ 48/164] Installing perl-B-0:1.89-512. 100% | 97.9 MiB/s | 501.3 KiB | 00m00s [ 49/164] Installing perl-FileHandle-0: 100% | 4.8 MiB/s | 9.8 KiB | 00m00s [ 50/164] Installing perl-Digest-MD5-0: 100% | 15.1 MiB/s | 61.7 KiB | 00m00s [ 51/164] Installing perl-MIME-Base32-0 100% | 10.5 MiB/s | 32.2 KiB | 00m00s [ 52/164] Installing perl-Data-Dumper-0 100% | 27.7 MiB/s | 113.6 KiB | 00m00s [ 53/164] Installing perl-libnet-0:3.15 100% | 57.6 MiB/s | 294.7 KiB | 00m00s [ 54/164] Installing perl-AutoLoader-0: 100% | 10.2 MiB/s | 20.9 KiB | 00m00s [ 55/164] Installing perl-IO-Socket-IP- 100% | 32.7 MiB/s | 100.5 KiB | 00m00s [ 56/164] Installing perl-URI-0:5.31-1. 100% | 37.6 MiB/s | 269.6 KiB | 00m00s [ 57/164] Installing perl-File-Path-0:2 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [ 58/164] Installing perl-Mozilla-CA-0: 100% | 5.5 MiB/s | 11.3 KiB | 00m00s [ 59/164] Installing perl-Time-Local-2: 100% | 34.5 MiB/s | 70.6 KiB | 00m00s [ 60/164] Installing perl-Pod-Escapes-1 100% | 12.7 MiB/s | 25.9 KiB | 00m00s [ 61/164] Installing perl-Text-Tabs+Wra 100% | 11.7 MiB/s | 23.9 KiB | 00m00s [ 62/164] Installing perl-if-0:0.61.000 100% | 3.0 MiB/s | 6.2 KiB | 00m00s [ 63/164] Installing perl-locale-0:1.12 100% | 2.2 MiB/s | 6.9 KiB | 00m00s [ 64/164] Installing perl-Net-SSLeay-0: 100% | 123.9 MiB/s | 1.4 MiB | 00m00s [ 65/164] Installing perl-IO-Socket-SSL 100% | 115.1 MiB/s | 707.4 KiB | 00m00s [ 66/164] Installing perl-Term-ANSIColo 100% | 32.3 MiB/s | 99.2 KiB | 00m00s [ 67/164] Installing perl-Term-Cap-0:1. 100% | 14.9 MiB/s | 30.6 KiB | 00m00s [ 68/164] Installing perl-POSIX-0:2.20- 100% | 76.9 MiB/s | 236.4 KiB | 00m00s [ 69/164] Installing perl-File-Temp-1:0 100% | 53.4 MiB/s | 164.1 KiB | 00m00s [ 70/164] Installing perl-IPC-Open3-0:1 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [ 71/164] Installing perl-Class-Struct- 100% | 8.4 MiB/s | 25.9 KiB | 00m00s [ 72/164] Installing perl-Pod-Simple-1: 100% | 61.9 MiB/s | 570.5 KiB | 00m00s [ 73/164] Installing perl-HTTP-Tiny-0:0 100% | 50.2 MiB/s | 154.2 KiB | 00m00s [ 74/164] Installing perl-Symbol-0:1.09 100% | 3.5 MiB/s | 7.2 KiB | 00m00s [ 75/164] Installing perl-Socket-4:2.03 100% | 30.8 MiB/s | 126.1 KiB | 00m00s [ 76/164] Installing perl-SelectSaver-0 100% | 1.3 MiB/s | 2.6 KiB | 00m00s [ 77/164] Installing perl-File-stat-0:1 100% | 6.4 MiB/s | 13.1 KiB | 00m00s [ 78/164] Installing perl-podlators-1:6 100% | 62.8 MiB/s | 321.4 KiB | 00m00s [ 79/164] Installing perl-Pod-Perldoc-0 100% | 33.1 MiB/s | 169.3 KiB | 00m00s [ 80/164] Installing perl-Text-ParseWor 100% | 7.1 MiB/s | 14.6 KiB | 00m00s [ 81/164] Installing perl-base-0:2.27-5 100% | 12.6 MiB/s | 12.9 KiB | 00m00s [ 82/164] Installing perl-mro-0:1.29-51 100% | 15.2 MiB/s | 46.7 KiB | 00m00s [ 83/164] Installing perl-overloading-0 100% | 1.1 MiB/s | 5.5 KiB | 00m00s [ 84/164] Installing perl-Fcntl-0:1.18- 100% | 16.3 MiB/s | 50.1 KiB | 00m00s [ 85/164] Installing perl-IO-0:1.55-512 100% | 30.3 MiB/s | 155.2 KiB | 00m00s [ 86/164] Installing perl-Pod-Usage-4:2 100% | 14.1 MiB/s | 86.3 KiB | 00m00s [ 87/164] Installing perl-constant-0:1. 100% | 8.9 MiB/s | 27.4 KiB | 00m00s [ 88/164] Installing perl-Errno-0:1.38- 100% | 1.7 MiB/s | 8.8 KiB | 00m00s [ 89/164] Installing perl-Scalar-List-U 100% | 18.6 MiB/s | 152.6 KiB | 00m00s [ 90/164] Installing perl-overload-0:1. 100% | 8.8 MiB/s | 71.9 KiB | 00m00s [ 91/164] Installing perl-File-Basename 100% | 3.6 MiB/s | 14.6 KiB | 00m00s [ 92/164] Installing perl-parent-1:0.24 100% | 3.5 MiB/s | 10.7 KiB | 00m00s [ 93/164] Installing perl-vars-0:1.05-5 100% | 1.0 MiB/s | 4.3 KiB | 00m00s [ 94/164] Installing perl-MIME-Base64-0 100% | 6.7 MiB/s | 48.4 KiB | 00m00s [ 95/164] Installing perl-Getopt-Std-0: 100% | 1.6 MiB/s | 11.7 KiB | 00m00s [ 96/164] Installing perl-Storable-1:3. 100% | 45.7 MiB/s | 234.0 KiB | 00m00s [ 97/164] Installing perl-Getopt-Long-1 100% | 35.9 MiB/s | 147.2 KiB | 00m00s [ 98/164] Installing perl-Exporter-0:5. 100% | 18.1 MiB/s | 55.6 KiB | 00m00s [ 99/164] Installing perl-Carp-0:1.54-5 100% | 15.5 MiB/s | 47.7 KiB | 00m00s [100/164] Installing perl-PathTools-0:3 100% | 30.0 MiB/s | 184.6 KiB | 00m00s [101/164] Installing perl-DynaLoader-0: 100% | 10.6 MiB/s | 32.5 KiB | 00m00s [102/164] Installing perl-Encode-4:3.21 100% | 188.7 MiB/s | 4.7 MiB | 00m00s [103/164] Installing perl-libs-4:5.40.0 100% | 172.0 MiB/s | 10.0 MiB | 00m00s [104/164] Installing perl-interpreter-4 100% | 17.3 MiB/s | 124.0 KiB | 00m00s [105/164] Installing tzdata-0:2024a-9.f 100% | 31.3 MiB/s | 1.9 MiB | 00m00s [106/164] Installing python-pip-wheel-0 100% | 248.3 MiB/s | 1.2 MiB | 00m00s [107/164] Installing mpdecimal-0:2.5.1- 100% | 40.2 MiB/s | 206.0 KiB | 00m00s [108/164] Installing libb2-0:0.98.1-12. 100% | 6.0 MiB/s | 43.3 KiB | 00m00s [109/164] Installing python3-libs-0:3.1 100% | 221.3 MiB/s | 40.7 MiB | 00m00s [110/164] Installing python3-0:3.13.0-1 100% | 10.9 MiB/s | 33.5 KiB | 00m00s [111/164] Installing cmake-rpm-macros-0 100% | 4.0 MiB/s | 8.1 KiB | 00m00s [112/164] Installing duktape-0:2.7.0-8. 100% | 21.6 MiB/s | 618.2 KiB | 00m00s [113/164] Installing polkit-0:125-3.fc4 100% | 24.3 MiB/s | 472.0 KiB | 00m00s [114/164] Installing pcsc-lite-ccid-0:1 100% | 30.6 MiB/s | 407.2 KiB | 00m00s [115/164] Installing pcsc-lite-0:2.3.0- 100% | 10.9 MiB/s | 223.5 KiB | 00m00s [116/164] Installing libnl3-0:3.11.0-1. 100% | 128.3 MiB/s | 1.0 MiB | 00m00s [117/164] Installing libibverbs-0:51.0- 100% | 110.3 MiB/s | 1.2 MiB | 00m00s [118/164] Installing libpcap-14:1.10.5- 100% | 101.9 MiB/s | 417.5 KiB | 00m00s [119/164] Installing protobuf-c-0:1.5.0 100% | 18.1 MiB/s | 55.5 KiB | 00m00s [120/164] Installing hiredis-0:1.2.0-4. 100% | 4.2 MiB/s | 115.7 KiB | 00m00s [121/164] Installing unbound-libs-0:1.2 100% | 143.6 MiB/s | 1.4 MiB | 00m00s [122/164] Installing gnutls-dane-0:3.8. 100% | 23.1 MiB/s | 70.8 KiB | 00m00s [123/164] Installing vim-filesystem-2:9 100% | 786.5 KiB/s | 4.7 KiB | 00m00s [124/164] Installing emacs-filesystem-1 100% | 177.1 KiB/s | 544.0 B | 00m00s [125/164] Installing libcbor-0:0.11.0-2 100% | 12.3 MiB/s | 75.3 KiB | 00m00s [126/164] Installing libfido2-0:1.15.0- 100% | 78.0 MiB/s | 239.7 KiB | 00m00s [127/164] Installing openpace-0:1.1.3-2 100% | 61.6 MiB/s | 315.2 KiB | 00m00s [128/164] Installing libcmocka-0:1.1.7- 100% | 34.5 MiB/s | 70.7 KiB | 00m00s [129/164] Installing rhash-0:1.4.5-1.fc 100% | 59.3 MiB/s | 364.6 KiB | 00m00s [130/164] Installing libuv-1:1.49.2-1.f 100% | 111.8 MiB/s | 572.2 KiB | 00m00s [131/164] Installing jsoncpp-0:1.9.5-8. 100% | 22.6 MiB/s | 254.9 KiB | 00m00s [132/164] Installing cmake-data-0:3.30. 100% | 59.8 MiB/s | 8.8 MiB | 00m00s [133/164] Installing cmake-0:3.30.5-1.f 100% | 326.9 MiB/s | 32.7 MiB | 00m00s [134/164] Installing libedit-0:3.1-53.2 100% | 60.0 MiB/s | 245.8 KiB | 00m00s [135/164] Installing nss_wrapper-libs-0 100% | 26.2 MiB/s | 80.4 KiB | 00m00s [136/164] Installing words-0:3.0-60.fc4 100% | 262.8 MiB/s | 4.7 MiB | 00m00s [137/164] Installing lmdb-libs-0:0.9.33 100% | 4.2 MiB/s | 111.0 KiB | 00m00s [138/164] Installing tpm2-tss-0:4.1.3-3 100% | 143.7 MiB/s | 1.6 MiB | 00m00s [139/164] Installing npth-0:1.7-2.fc41. 100% | 24.7 MiB/s | 50.7 KiB | 00m00s [140/164] Installing gnupg2-0:2.4.5-3.f 100% | 238.6 MiB/s | 9.5 MiB | 00m00s [141/164] Installing krb5-server-0:1.21 100% | 37.4 MiB/s | 765.2 KiB | 00m00s [142/164] Installing nss_wrapper-0:1.1. 100% | 5.0 MiB/s | 15.5 KiB | 00m00s [143/164] Installing openssh-clients-0: 100% | 106.3 MiB/s | 2.7 MiB | 00m00s [144/164] Installing libcmocka-devel-0: 100% | 28.1 MiB/s | 86.4 KiB | 00m00s [145/164] Installing opensc-0:0.25.1-5. 100% | 58.5 MiB/s | 3.5 MiB | 00m00s [146/164] Installing gnutls-utils-0:3.8 100% | 166.0 MiB/s | 1.3 MiB | 00m00s [147/164] Installing nmap-ncat-4:7.92-3 100% | 13.5 MiB/s | 469.6 KiB | 00m00s [148/164] Installing openssh-server-0:9 100% | 78.8 MiB/s | 1.4 MiB | 00m00s [149/164] Installing krb5-devel-0:1.21. 100% | 69.8 MiB/s | 715.2 KiB | 00m00s [150/164] Installing gcc-c++-0:14.2.1-6 100% | 302.6 MiB/s | 38.1 MiB | 00m00s [151/164] Installing annobin-plugin-gcc 100% | 50.7 MiB/s | 987.3 KiB | 00m00s [152/164] Installing gcc-plugin-annobin 100% | 2.6 MiB/s | 59.2 KiB | 00m00s [153/164] Installing krb5-workstation-0 100% | 122.1 MiB/s | 2.6 MiB | 00m00s [154/164] Installing pam_wrapper-0:1.1. 100% | 22.2 MiB/s | 113.8 KiB | 00m00s [155/164] Installing priv_wrapper-0:1.0 100% | 13.5 MiB/s | 55.4 KiB | 00m00s [156/164] Installing socket_wrapper-0:1 100% | 23.9 MiB/s | 97.7 KiB | 00m00s [157/164] Installing uid_wrapper-0:1.3. 100% | 5.9 MiB/s | 84.1 KiB | 00m00s [158/164] Installing zlib-ng-compat-dev 100% | 7.6 MiB/s | 108.3 KiB | 00m00s [159/164] Installing systemd-rpm-macros 100% | 1.2 MiB/s | 11.2 KiB | 00m00s [160/164] Installing p11-kit-devel-0:0. 100% | 26.2 MiB/s | 562.7 KiB | 00m00s [161/164] Installing openssl-devel-1:3. 100% | 12.7 MiB/s | 5.2 MiB | 00m00s [162/164] Installing softhsm-0:2.6.1-10 100% | 117.2 MiB/s | 1.5 MiB | 00m00s [163/164] Installing pkcs11-provider-0: 100% | 76.9 MiB/s | 315.0 KiB | 00m00s [164/164] Installing p11-kit-server-0:0 100% | 362.6 KiB/s | 1.2 MiB | 00m03s Complete! >>> 2024-11-13 01:48:16 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 16.3 KiB/s | 1.5 KiB | 00m00s fedora 100% | 535.8 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 78 MiB. Need to download 0 B. After this operation, 327 MiB extra will be used (install 327 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 16.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 108.0 B/s | 5.0 B | 00m00s [3/7] Installing tinyxml2-0:9.0.0-5.fc4 100% | 20.5 MiB/s | 104.9 KiB | 00m00s [4/7] Installing pcre-0:8.45-1.fc41.7.x 100% | 133.8 MiB/s | 548.1 KiB | 00m00s [5/7] Installing cppcheck-0:2.16.0-1.fc 100% | 305.7 MiB/s | 10.4 MiB | 00m00s [6/7] Installing ShellCheck-0:0.10.0-3. 100% | 396.2 MiB/s | 20.6 MiB | 00m00s [7/7] Installing gcc-latest-0:15.0.0-4. 100% | 114.9 MiB/s | 295.4 MiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 01:48:21 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:48:23 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcmqo6kuo/rpm-list-mock-provides.txt >>> 2024-11-13 01:48:24 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm" "/builddir/libssh-0.11.1-1.fc42.src.rpm" >>> 2024-11-13 01:48:25 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 01:48:26 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/libssh-0.11.1-1.fc42.src.rpm'\"" Updating / installing... libssh-0.11.1-1.fc42 ######################################## >>> 2024-11-13 01:48:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/libssh.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/libssh-0.11.1-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1724976000 Wrote: /builddir/build/SRPMS/libssh-0.11.1-1.fc42.src.rpm renamed 'libssh-0.11.1-1.fc42.src.rpm' -> '/builddir/libssh-0.11.1-1.fc42.src.rpm' >>> 2024-11-13 01:48:28 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libssh-0.11.1-1.fc42.src.rpm" "/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm" >>> 2024-11-13 01:48:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1724976000 Wrote: /builddir/build/SRPMS/libssh-0.11.1-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 4.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "cmake-3.30.5-1.fc42.x86_64" is already installed. Package "gcc-c++-14.2.1-6.fc42.x86_64" is already installed. Package "gnupg2-2.4.5-3.fc41.x86_64" is already installed. Package "gnutls-utils-3.8.8-1.fc42.x86_64" is already installed. Package "krb5-devel-1.21.3-3.fc42.x86_64" is already installed. Package "krb5-server-1.21.3-3.fc42.x86_64" is already installed. Package "krb5-workstation-1.21.3-3.fc42.x86_64" is already installed. Package "libcmocka-devel-1.1.7-5.fc41.x86_64" is already installed. Package "nmap-ncat-4:7.92-3.fc41.x86_64" is already installed. Package "nss_wrapper-1.1.16-2.fc41.x86_64" is already installed. Package "opensc-0.25.1-5.fc42.x86_64" is already installed. Package "openssh-clients-9.9p1-5.fc42.x86_64" is already installed. Package "openssh-server-9.9p1-5.fc42.x86_64" is already installed. Package "openssl-devel-1:3.2.2-8.fc42.x86_64" is already installed. Package "p11-kit-devel-0.25.5-4.fc42.x86_64" is already installed. Package "p11-kit-server-0.25.5-4.fc42.x86_64" is already installed. Package "pam_wrapper-1.1.7-1.fc41.x86_64" is already installed. Package "pkcs11-provider-0.5-3.fc41.x86_64" is already installed. Package "pkgconf-pkg-config-2.3.0-1.fc42.x86_64" is already installed. Package "priv_wrapper-1.0.1-8.fc41.x86_64" is already installed. Package "socket_wrapper-1.4.1-2.fc41.x86_64" is already installed. Package "softhsm-2.6.1-10.fc42.1.x86_64" is already installed. Package "uid_wrapper-1.3.1-2.fc41.x86_64" is already installed. Package "zlib-ng-compat-devel-2.2.2-1.fc42.x86_64" is already installed. Nothing to do. >>> 2024-11-13 01:48:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 459.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 15.8 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-13 01:48:34 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:48:35 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcmqo6kuo/rpm-list-mock-provides.txt >>> 2024-11-13 01:48:36 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: Copr repository 100% | 4.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 535.8 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 172.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 4.2 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 10.7 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 48.4 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 66.8 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 42.8 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 01:48:38 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 8 packages Total size of inbound packages is 104 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/10] Verify package files 100% | 24.0 B/s | 8.0 B | 00m00s [ 2/10] Prepare transaction 100% | 258.0 B/s | 8.0 B | 00m00s [ 3/10] Installing libssh2-0:1.11.1-1.f 100% | 52.8 MiB/s | 324.5 KiB | 00m00s [ 4/10] Installing llhttp-0:9.2.1-2.fc4 100% | 36.0 MiB/s | 73.8 KiB | 00m00s [ 5/10] Installing libgit2-0:1.8.4-1.fc 100% | 182.0 MiB/s | 1.3 MiB | 00m00s [ 6/10] Installing llvm-libs-0:19.1.0-1 100% | 362.9 MiB/s | 124.5 MiB | 00m00s [ 7/10] Installing rust-std-static-0:1. 100% | 409.1 MiB/s | 143.6 MiB | 00m00s [ 8/10] Installing rust-0:1.82.0-1.fc42 100% | 339.0 MiB/s | 87.8 MiB | 00m00s [ 9/10] Installing cargo-0:1.82.0-1.fc4 100% | 307.5 MiB/s | 19.4 MiB | 00m00s [10/10] Installing clippy-0:1.82.0-1.fc 100% | 4.9 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 01:48:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 4.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 111.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 756.9 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 01:48:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 111.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 3.8 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 01:48:48 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:48:49 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcmqo6kuo/rpm-list-mock-provides.txt >>> 2024-11-13 01:48:51 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 01:48:52 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/' tar: Removing leading `/' from member names scan.ini: analyzer-version-clippy = 1.82.0 >>> 2024-11-13 01:48:53 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-13 01:48:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-13 01:48:56 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-13 01:48:57 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-13 01:48:58 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-13 01:49:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42.src.rpm'" Updating / installing... libssh-0.11.1-1.fc42 ######################################## >>> 2024-11-13 01:49:01 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 01:49:03 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh + /usr/bin/gio-querymodules-64 /usr/lib64/gio/modules + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas No schema files found: doing nothing. RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh + sed -i /usr/include/openssl/e_os2.h -e 's|\(# *if\)def DEBUG_UNUSED|\1 1|' RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-11-13 01:49:04 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/libssh.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libssh.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libssh.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libssh.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1724976000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.xG2FWb + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + test -d /builddir/build/BUILD/libssh-0.11.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libssh-0.11.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libssh-0.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libssh-0.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libssh-0.11.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DF98pn + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/libssh.keyring --signature=/builddir/build/SOURCES/libssh-0.11.1.tar.xz.asc --data=/builddir/build/SOURCES/libssh-0.11.1.tar.xz gpgv: Signature made Fri Aug 30 09:58:22 2024 UTC gpgv: using RSA key 88A228D89B07C2C77D0C780903D5DF8CFDD3E8E7 gpgv: Good signature from "libssh release key (release key) " + cd /builddir/build/BUILD/libssh-0.11.1-build + rm -rf libssh-0.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libssh-0.11.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh-0.11.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libssh.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-11-13 01:49:05 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 01:49:06 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--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' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' 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/libssh.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'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --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'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' 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/libssh.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'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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/libssh.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\'\\""'] Start: 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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/libssh.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\'\\""'] setting SOURCE_DATE_EPOCH=1724976000 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PUT3fs + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libssh-0.11.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DUNIT_TESTING=ON -DCLIENT_TESTING=ON -DSERVER_TESTING=ON -DGSSAPI_TESTING=ON -DWITH_PKCS11_URI=ON -DWITH_PKCS11_PROVIDER=ON -DGLOBAL_CLIENT_CONFIG=/etc/libssh/libssh_client.config -DGLOBAL_BIND_CONFIG=/etc/libssh/libssh_server.config -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib64/cscppc/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib64/cscppc/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test WITH_WSIGN_COMPARE_FLAG -- Performing Test WITH_WSIGN_COMPARE_FLAG - Success -- Performing Test WITH_WOLD_STYLE_DEFINITION_FLAG -- Performing Test WITH_WOLD_STYLE_DEFINITION_FLAG - Success -- Performing Test WITH_WERROR_OLD_STYLE_DEFINITION_FLAG -- Performing Test WITH_WERROR_OLD_STYLE_DEFINITION_FLAG - Success -- Performing Test WITH_WIMPLICIT_INT_FLAG -- Performing Test WITH_WIMPLICIT_INT_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_INT_FLAG -- Performing Test WITH_WERROR_IMPLICIT_INT_FLAG - Success -- Performing Test WITH_WINT_CONVERSION_FLAG -- Performing Test WITH_WINT_CONVERSION_FLAG - Success -- Performing Test WITH_WERROR_INT_CONVERSION_FLAG -- Performing Test WITH_WERROR_INT_CONVERSION_FLAG - Success -- Performing Test WITH_WERROR_UNUSED_VARIABLE_FLAG -- Performing Test WITH_WERROR_UNUSED_VARIABLE_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.2.2", minimum required is "1.1.1") -- Found CMocka: /usr/lib64/libcmocka.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found GSSAPI: /usr/lib64/libgssapi_krb5.so;/usr/lib64/libkrb5.so;/usr/lib64/libk5crypto.so;/usr/lib64/libcom_err.so -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) -- Found Python: /usr/bin/python3.13 (found version "3.13.0") found components: Interpreter -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`) -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1") -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for argp_parse -- Looking for argp_parse - found -- Looking for argp.h -- Looking for argp.h - found -- Looking for pty.h -- Looking for pty.h - found -- Looking for utmp.h -- Looking for utmp.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for util.h -- Looking for util.h - not found -- Looking for libutil.h -- Looking for libutil.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/utime.h -- Looking for sys/utime.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for byteswap.h -- Looking for byteswap.h - found -- Looking for glob.h -- Looking for glob.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for ifaddrs.h -- Looking for ifaddrs.h - found -- Looking for openssl/des.h -- Looking for openssl/des.h - found -- Looking for openssl/aes.h -- Looking for openssl/aes.h - found -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found -- Looking for openssl/ec.h -- Looking for openssl/ec.h - found -- Looking for openssl/ecdsa.h -- Looking for openssl/ecdsa.h - found -- Looking for EVP_KDF_CTX_new_id -- Looking for EVP_KDF_CTX_new_id - not found -- Looking for EVP_KDF_CTX_new -- Looking for EVP_KDF_CTX_new - found -- Looking for FIPS_mode -- Looking for FIPS_mode - not found -- Looking for RAND_priv_bytes -- Looking for RAND_priv_bytes - found -- Looking for EVP_chacha20 -- Looking for EVP_chacha20 - found -- Looking for isblank -- Looking for isblank - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for explicit_bzero -- Looking for explicit_bzero - found -- Looking for memset_s -- Looking for memset_s - not found -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER - Success -- Looking for glob -- Looking for glob - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for poll -- Looking for poll - found -- Looking for select -- Looking for select - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for ntohll -- Looking for ntohll - not found -- Looking for htonll -- Looking for htonll - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for forkpty in util -- Looking for forkpty in util - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for __strtoull -- Looking for __strtoull - not found -- Looking for cmocka_set_test_filter -- Looking for cmocka_set_test_filter - found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE - Failed -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE - Success -- Performing Test HAVE_WEAK_ATTRIBUTE -- Performing Test HAVE_WEAK_ATTRIBUTE - Success -- Performing Test HAVE_UNUSED_ATTRIBUTE -- Performing Test HAVE_UNUSED_ATTRIBUTE - Success -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION - Success -- Performing Test HAVE_COMPILER__FUNC__ -- Performing Test HAVE_COMPILER__FUNC__ - Success -- Performing Test HAVE_COMPILER__FUNCTION__ -- Performing Test HAVE_COMPILER__FUNCTION__ - Success -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Threads_FOUND=TRUE -- Found nss_wrapper: /usr/lib64/libnss_wrapper.so (version "1.1.16") -- Found uid_wrapper: /usr/lib64/libuid_wrapper.so (version "1.3.1") -- Found softhsm: /usr/lib64/libsofthsm2.so -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for module 'p11-kit-1' -- Found p11-kit-1, version 0.25.5 -- TORTURE_ENVIRONMENT=LD_PRELOAD=/usr/lib64/libsocket_wrapper.so:/usr/lib64/libnss_wrapper.so:/usr/lib64/libuid_wrapper.so:/usr/lib64/libpam_wrapper.so:/usr/lib64/libpriv_wrapper.so:/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib/libfs_wrapper.so;PRIV_WRAPPER=1;PRIV_WRAPPER_CHROOT_DISABLE=1;PRIV_WRAPPER_PRCTL_DISABLE="ALL";PRIV_WRAPPER_SETRLIMIT_DISABLE="ALL";UID_WRAPPER=1;UID_WRAPPER_ROOT=1;NSS_WRAPPER_PASSWD=/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/etc/passwd;NSS_WRAPPER_SHADOW=/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/etc/shadow;NSS_WRAPPER_GROUP=/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/etc/group;PAM_WRAPPER_SERVICE_DIR=/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/etc/pam.d;LSAN_OPTIONS=suppressions=/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/suppressions/lsan.supp;OPENSSL_ENABLE_SHA1_SIGNATURES=1 -- PKD_ENVIRONMENT=LD_PRELOAD=/usr/lib64/libsocket_wrapper.so;OPENSSL_ENABLE_SHA1_SIGNATURES=1 -- ******************************************** -- ********** libssh build options : ********** -- Build type: -- Coverage: -- zlib support: ON -- libgcrypt support: OFF -- libmbedTLS support: OFF -- libnacl support: OFF -- SFTP support: ON -- Server support : ON -- GSSAPI support : ON -- GEX support : ON -- Support insecure none cipher and MAC : OFF -- Support exec : ON -- Pcap debugging support : ON -- Build shared library: ON -- Unit testing: ON -- Client code testing: ON -- Blowfish cipher support: -- PKCS #11 URI support: ON -- With PKCS #11 provider support: ON -- Server code testing: ON -- Public API documentation generation -- Benchmarks: OFF -- Symbol versioning: ON -- Allow ABI break: OFF -- Release is final: -- Global client config: /etc/libssh/libssh_client.config -- Global bind config: /etc/libssh/libssh_server.config -- ******************************************** -- Configuring done (11.6s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j1 --verbose Change Dir: '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j1 /usr/bin/cmake -S/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 -B/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/ssh.dir/build.make src/CMakeFiles/ssh.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src/CMakeFiles/ssh.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/ssh.dir/build.make src/CMakeFiles/ssh.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 0%] Building C object src/CMakeFiles/ssh.dir/agent.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/agent.c.o -MF CMakeFiles/ssh.dir/agent.c.o.d -o CMakeFiles/ssh.dir/agent.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/agent.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/agent.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 1%] Building C object src/CMakeFiles/ssh.dir/auth.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/auth.c.o -MF CMakeFiles/ssh.dir/auth.c.o.d -o CMakeFiles/ssh.dir/auth.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c: In function ‘ssh_packet_userauth_info_request’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: warning: leak of ‘calloc((long unsigned int)nprompts, 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1943:12: note: (1) following ‘false’ branch (when ‘kbd’ is non-NULL)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:38: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1953:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:70: note: in definition of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1961:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1968:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1970:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1980:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1982:32: note: (7) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: note: (8) ‘calloc((long unsigned int)nprompts, 8)’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1993:8: warning: leak of ‘calloc((long unsigned int)nprompts, 1)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1943:12: note: (1) following ‘false’ branch (when ‘kbd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1953:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:70: note: in definition of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1961:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1968:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1970:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1980:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1992:29: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1992:29: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1993:8: note: (10) ‘calloc((long unsigned int)nprompts, 1)’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] [ 1%] Building C object src/CMakeFiles/ssh.dir/base64.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/base64.c.o -MF CMakeFiles/ssh.dir/base64.c.o.d -o CMakeFiles/ssh.dir/base64.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/base64.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/base64.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 1%] Building C object src/CMakeFiles/ssh.dir/bignum.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/bignum.c.o -MF CMakeFiles/ssh.dir/bignum.c.o.d -o CMakeFiles/ssh.dir/bignum.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bignum.c [ 1%] Building C object src/CMakeFiles/ssh.dir/buffer.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/buffer.c.o -MF CMakeFiles/ssh.dir/buffer.c.o.d -o CMakeFiles/ssh.dir/buffer.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c: In function ‘ssh_buffer_unpack_va’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1354:5: note: (1) entry to ‘_ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1363:10: note: (2) calling ‘ssh_buffer_unpack_va’ from ‘_ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1091:5: note: (3) entry to ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1119:8: note: (4) following ‘false’ branch (when ‘argc <= 256’)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:24: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (8) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (10) following ‘case 80:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1215:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1217:16: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (13) inlined call to ‘ssh_buffer_validate_length’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] In function ‘ssh_buffer_validate_length’, inlined from ‘ssh_buffer_unpack_va’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c: In function ‘ssh_buffer_unpack_va’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1230:23: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1231:15: note: (18) assuming ‘malloc(len)’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1231:15: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (21) calling ‘ssh_buffer_get_data’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:677:10: note: (22) entry to ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:685:10: note: (23) inlined call to ‘ssh_buffer_validate_length’ from ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] In function ‘ssh_buffer_validate_length’, inlined from ‘ssh_buffer_get_data’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:685:10: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (24) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:33: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:51: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] In function ‘ssh_buffer_unpack_va’: cc1: note: (27) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (28) returning to ‘ssh_buffer_unpack_va’ from ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1236:16: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:34: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:24: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (33) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (35) following ‘case 80:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1215:9: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1217:16: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (38) inlined call to ‘ssh_buffer_validate_length’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] In function ‘ssh_buffer_validate_length’, inlined from ‘ssh_buffer_unpack_va’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c: In function ‘ssh_buffer_unpack_va’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (42) ‘’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 2%] Building C object src/CMakeFiles/ssh.dir/callbacks.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/callbacks.c.o -MF CMakeFiles/ssh.dir/callbacks.c.o.d -o CMakeFiles/ssh.dir/callbacks.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/callbacks.c [ 2%] Building C object src/CMakeFiles/ssh.dir/channels.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/channels.c.o -MF CMakeFiles/ssh.dir/channels.c.o.d -o CMakeFiles/ssh.dir/channels.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/channels.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/channels.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 2%] Building C object src/CMakeFiles/ssh.dir/client.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/client.c.o -MF CMakeFiles/ssh.dir/client.c.o.d -o CMakeFiles/ssh.dir/client.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/client.c [ 2%] Building C object src/CMakeFiles/ssh.dir/config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/config.c.o -MF CMakeFiles/ssh.dir/config.c.o.d -o CMakeFiles/ssh.dir/config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 3%] Building C object src/CMakeFiles/ssh.dir/connect.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/connect.c.o -MF CMakeFiles/ssh.dir/connect.c.o.d -o CMakeFiles/ssh.dir/connect.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connect.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connect.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 3%] Building C object src/CMakeFiles/ssh.dir/connector.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/connector.c.o -MF CMakeFiles/ssh.dir/connector.c.o.d -o CMakeFiles/ssh.dir/connector.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connector.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connector.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 3%] Building C object src/CMakeFiles/ssh.dir/crypto_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/crypto_common.c.o -MF CMakeFiles/ssh.dir/crypto_common.c.o.d -o CMakeFiles/ssh.dir/crypto_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/crypto_common.c [ 3%] Building C object src/CMakeFiles/ssh.dir/curve25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/curve25519.c.o -MF CMakeFiles/ssh.dir/curve25519.c.o.d -o CMakeFiles/ssh.dir/curve25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/curve25519.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/curve25519.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 3%] Building C object src/CMakeFiles/ssh.dir/dh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/dh.c.o -MF CMakeFiles/ssh.dir/dh.c.o.d -o CMakeFiles/ssh.dir/dh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh.c [ 4%] Building C object src/CMakeFiles/ssh.dir/ecdh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/ecdh.c.o -MF CMakeFiles/ssh.dir/ecdh.c.o.d -o CMakeFiles/ssh.dir/ecdh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh.c [ 4%] Building C object src/CMakeFiles/ssh.dir/error.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/error.c.o -MF CMakeFiles/ssh.dir/error.c.o.d -o CMakeFiles/ssh.dir/error.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/error.c [ 4%] Building C object src/CMakeFiles/ssh.dir/getpass.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/getpass.c.o -MF CMakeFiles/ssh.dir/getpass.c.o.d -o CMakeFiles/ssh.dir/getpass.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getpass.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getpass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 4%] Building C object src/CMakeFiles/ssh.dir/init.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/init.c.o -MF CMakeFiles/ssh.dir/init.c.o.d -o CMakeFiles/ssh.dir/init.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/init.c [ 5%] Building C object src/CMakeFiles/ssh.dir/kdf.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/kdf.c.o -MF CMakeFiles/ssh.dir/kdf.c.o.d -o CMakeFiles/ssh.dir/kdf.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kdf.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kdf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 5%] Building C object src/CMakeFiles/ssh.dir/kex.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/kex.c.o -MF CMakeFiles/ssh.dir/kex.c.o.d -o CMakeFiles/ssh.dir/kex.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c: In function ‘ssh_kex_select_methods’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:40: warning: leak of ‘*crypto.kex_methods[i]’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:943:5: note: (1) entry to ‘ssh_kex_select_methods’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (2) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (8) following ‘false’ branch (when ‘i <= 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:39: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (10) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:66: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:25: note: (14) calling ‘ssh_find_aead_hmac’ from ‘ssh_kex_select_methods’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:854:20: note: (15) entry to ‘ssh_find_aead_hmac’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:856:8: note: (16) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:858:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:25: note: (18) returning to ‘ssh_kex_select_methods’ from ‘ssh_find_aead_hmac’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:974:16: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:975:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:42: note: (21) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:40: note: (22) ‘*crypto.kex_methods[i]’ leaks here; was allocated at (21) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:36: warning: leak of ‘*crypto.kex_methods[i]’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (1) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:32: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (7) following ‘false’ branch (when ‘i <= 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (9) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:44: note: (11) following ‘false’ branch (when ‘i > 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:40: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:38: note: (13) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:36: note: (14) ‘*crypto.kex_methods[i]’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper] [ 5%] Building C object src/CMakeFiles/ssh.dir/known_hosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -Wno-deprecated-declarations -MD -MT src/CMakeFiles/ssh.dir/known_hosts.c.o -MF CMakeFiles/ssh.dir/known_hosts.c.o.d -o CMakeFiles/ssh.dir/known_hosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/known_hosts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/known_hosts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 5%] Building C object src/CMakeFiles/ssh.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/knownhosts.c.o -MF CMakeFiles/ssh.dir/knownhosts.c.o.d -o CMakeFiles/ssh.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/knownhosts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/knownhosts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 6%] Building C object src/CMakeFiles/ssh.dir/legacy.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/legacy.c.o -MF CMakeFiles/ssh.dir/legacy.c.o.d -o CMakeFiles/ssh.dir/legacy.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 130 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:32: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[gcc] 101 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 134 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 137 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 144 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[gcc] 95 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[gcc] 198 | return ssh_channel_get_exit_status(channel); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[gcc] 471 | SSH_DEPRECATED LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[gcc] 296 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[gcc] 584 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 726 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[gcc] 493 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:32: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[csmock-gcc-wrapper] [ 6%] Building C object src/CMakeFiles/ssh.dir/log.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/log.c.o -MF CMakeFiles/ssh.dir/log.c.o.d -o CMakeFiles/ssh.dir/log.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/log.c [ 6%] Building C object src/CMakeFiles/ssh.dir/match.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/match.c.o -MF CMakeFiles/ssh.dir/match.c.o.d -o CMakeFiles/ssh.dir/match.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/match.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/match.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 6%] Building C object src/CMakeFiles/ssh.dir/messages.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/messages.c.o -MF CMakeFiles/ssh.dir/messages.c.o.d -o CMakeFiles/ssh.dir/messages.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/messages.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/messages.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 7%] Building C object src/CMakeFiles/ssh.dir/misc.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/misc.c.o -MF CMakeFiles/ssh.dir/misc.c.o.d -o CMakeFiles/ssh.dir/misc.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c: In function ‘ssh_path_expand_tilde.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1129:9: note: (1) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1130:8: note: (2) following ‘true’ branch (when ‘d < p’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1135:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1138:12: note: (4) following ‘false’ branch (when ‘s <= 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1141:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1144:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (8) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 7%] Building C object src/CMakeFiles/ssh.dir/options.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/options.c.o -MF CMakeFiles/ssh.dir/options.c.o.d -o CMakeFiles/ssh.dir/options.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In function ‘ssh_options_set’: cc1: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:656:8: note: (1) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:660:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:660:5: note: (3) following ‘case 31 ... 34:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1205:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1209:16: note: (5) following ‘false’ branch (when ‘value’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1213:21: note: (6) ...to here <--[csmock-gcc-wrapper] cc1: note: (7) following ‘true’ branch... cc1: note: (8) ...to here cc1: note: (9) read of 4 bytes at offset ‘type * 4 + 17179869060’ exceeds ‘CSWTCH.32’ cc1: note: valid subscripts for ‘CSWTCH.32’ are ‘[0]’ to ‘[2]’ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c: In function ‘ssh_options_copy’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:76:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:80:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:81:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:85:18: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:118:19: note: (5) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:119:16: note: (7) following ‘true’ branch (when ‘it’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:35: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:123:16: note: (10) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:123:16: note: (11) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:128:18: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:129:16: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:134:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:119:16: note: (15) following ‘true’ branch (when ‘it’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:35: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: note: (17) ‘id’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] [ 7%] Building C object src/CMakeFiles/ssh.dir/packet.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/packet.c.o -MF CMakeFiles/ssh.dir/packet.c.o.d -o CMakeFiles/ssh.dir/packet.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c: In function ‘packet_send2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:19: warning: dereference of NULL ‘*session.next_crypto’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1671:12: note: (1) entry to ‘packet_send2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1688:14: note: (2) calling ‘ssh_packet_get_current_crypto’ from ‘packet_send2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:942:1: note: (3) entry to ‘ssh_packet_get_current_crypto’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:947:8: note: (4) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:951:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:954:15: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1688:14: note: (8) returning to ‘packet_send2’ from ‘ssh_packet_get_current_crypto’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1689:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:28: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:19: note: (11) dereference of NULL ‘*session.next_crypto’ <--[csmock-gcc-wrapper] [ 7%] Building C object src/CMakeFiles/ssh.dir/packet_cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/packet_cb.c.o -MF CMakeFiles/ssh.dir/packet_cb.c.o.d -o CMakeFiles/ssh.dir/packet_cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_cb.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_cb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 8%] Building C object src/CMakeFiles/ssh.dir/packet_crypt.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/packet_crypt.c.o -MF CMakeFiles/ssh.dir/packet_crypt.c.o.d -o CMakeFiles/ssh.dir/packet_crypt.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_crypt.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_crypt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 8%] Building C object src/CMakeFiles/ssh.dir/pcap.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/pcap.c.o -MF CMakeFiles/ssh.dir/pcap.c.o.d -o CMakeFiles/ssh.dir/pcap.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pcap.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 8%] Building C object src/CMakeFiles/ssh.dir/pki.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/pki.c.o -MF CMakeFiles/ssh.dir/pki.c.o.d -o CMakeFiles/ssh.dir/pki.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 8%] Building C object src/CMakeFiles/ssh.dir/pki_container_openssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/pki_container_openssh.c.o -MF CMakeFiles/ssh.dir/pki_container_openssh.c.o.d -o CMakeFiles/ssh.dir/pki_container_openssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_container_openssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_container_openssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 9%] Building C object src/CMakeFiles/ssh.dir/poll.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/poll.c.o -MF CMakeFiles/ssh.dir/poll.c.o.d -o CMakeFiles/ssh.dir/poll.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/poll.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/poll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 9%] Building C object src/CMakeFiles/ssh.dir/session.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/session.c.o -MF CMakeFiles/ssh.dir/session.c.o.d -o CMakeFiles/ssh.dir/session.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c: In function ‘ssh_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (33) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (34) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (35) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (39) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (33) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (33) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (37) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (38) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (39) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (37) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (33) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (37) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (41) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (42) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (41) <--[csmock-gcc-wrapper] [ 9%] Building C object src/CMakeFiles/ssh.dir/scp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/scp.c.o -MF CMakeFiles/ssh.dir/scp.c.o.d -o CMakeFiles/ssh.dir/scp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_new’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:110:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 110 | ssh_scp_free(scp); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:30: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_free’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:303:9: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 303 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:249:5: note: declared here <--[gcc] 249 | int ssh_scp_close(ssh_scp scp) | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_push_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:577:5: warning: ‘ssh_scp_push_file64’ is deprecated [-Wdeprecated-declarations] <--[gcc] 577 | return ssh_scp_push_file64(scp, filename, (uint64_t) size, mode); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:472:5: note: declared here <--[gcc] 472 | int ssh_scp_push_file64(ssh_scp scp, const char *filename, uint64_t size, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_read’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:1023:9: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 1023 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:969:5: note: declared here <--[gcc] 969 | int ssh_scp_accept_request(ssh_scp scp) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:110:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:30: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:303:9: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:249:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_push_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:577:5: warning: ‘ssh_scp_push_file64’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:472:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:1023:9: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:969:5: note: declared here <--[csmock-gcc-wrapper] [ 9%] Building C object src/CMakeFiles/ssh.dir/socket.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/socket.c.o -MF CMakeFiles/ssh.dir/socket.c.o.d -o CMakeFiles/ssh.dir/socket.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c: In function ‘ssh_execute_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: warning: leak of file descriptor ‘open("/dev/null", 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:913:15: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (2) assuming ‘open("/dev/null", 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:923:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: note: (5) ‘open("/dev/null", 1)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:942:5: warning: double ‘close’ of file descriptor ‘out’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:963:1: note: (1) entry to ‘ssh_socket_connect_proxycommand’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:970:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:974:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:975:8: note: (4) following ‘false’ branch (when ‘rc >= 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:52: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:979:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:981:8: note: (6) following ‘true’ branch (when ‘pid == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:982:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:982:9: note: (8) calling ‘ssh_execute_command’ from ‘ssh_socket_connect_proxycommand’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:905:1: note: (9) entry to ‘ssh_execute_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:923:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: note: (12) first ‘close’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:942:5: note: (13) second ‘close’ here; first ‘close’ was at (12) <--[csmock-gcc-wrapper] [ 10%] Building C object src/CMakeFiles/ssh.dir/string.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/string.c.o -MF CMakeFiles/ssh.dir/string.c.o.d -o CMakeFiles/ssh.dir/string.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/string.c [ 10%] Building C object src/CMakeFiles/ssh.dir/threads.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/threads.c.o -MF CMakeFiles/ssh.dir/threads.c.o.d -o CMakeFiles/ssh.dir/threads.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads.c [ 10%] Building C object src/CMakeFiles/ssh.dir/ttyopts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/ttyopts.c.o -MF CMakeFiles/ssh.dir/ttyopts.c.o.d -o CMakeFiles/ssh.dir/ttyopts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ttyopts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ttyopts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 10%] Building C object src/CMakeFiles/ssh.dir/wrapper.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/wrapper.c.o -MF CMakeFiles/ssh.dir/wrapper.c.o.d -o CMakeFiles/ssh.dir/wrapper.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c: In function ‘crypt_set_algorithms2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:261:12: note: (1) entry to ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:24: note: (2) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:40: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:284:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:45: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:290:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:292:40: note: (6) calling ‘cipher_new’ from ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (7) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (8) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (9) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (10) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:292:40: note: (12) returning to ‘crypt_set_algorithms2’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:16: note: (13) ‘cipher_new((int)i)’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:352:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:261:12: note: (1) entry to ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:24: note: (2) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:40: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:284:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:290:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:298:41: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:315:37: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:316:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:322:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:328:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:336:39: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:337:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:343:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:349:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:351:39: note: (16) calling ‘cipher_new’ from ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (17) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (18) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (19) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (20) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:351:39: note: (22) returning to ‘crypt_set_algorithms2’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:352:16: note: (23) ‘cipher_new((int)i)’ leaks here; was allocated at (18) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c: In function ‘crypt_set_algorithms_server’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:421:5: note: (1) entry to ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:428:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:437:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:439:39: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:440:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:446:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:451:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:453:40: note: (8) calling ‘cipher_new’ from ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (9) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (11) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (12) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:453:40: note: (14) returning to ‘crypt_set_algorithms_server’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:16: note: (15) ‘cipher_new((int)i)’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:509:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:421:5: note: (1) entry to ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:428:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:437:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:439:39: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:440:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:446:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:451:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:459:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:473:37: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:474:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:480:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:486:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:494:17: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:495:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:501:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:506:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:508:39: note: (18) calling ‘cipher_new’ from ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (19) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (20) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (21) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (22) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:508:39: note: (24) returning to ‘crypt_set_algorithms_server’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:509:16: note: (25) ‘cipher_new((int)i)’ leaks here; was allocated at (20) <--[csmock-gcc-wrapper] [ 10%] Building C object src/CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o -MF CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o.d -o CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/bcrypt_pbkdf.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/bcrypt_pbkdf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 11%] Building C object src/CMakeFiles/ssh.dir/external/blowfish.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/external/blowfish.c.o -MF CMakeFiles/ssh.dir/external/blowfish.c.o.d -o CMakeFiles/ssh.dir/external/blowfish.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/blowfish.c [ 11%] Building C object src/CMakeFiles/ssh.dir/config_parser.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/config_parser.c.o -MF CMakeFiles/ssh.dir/config_parser.c.o.d -o CMakeFiles/ssh.dir/config_parser.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config_parser.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config_parser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 11%] Building C object src/CMakeFiles/ssh.dir/token.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/token.c.o -MF CMakeFiles/ssh.dir/token.c.o.d -o CMakeFiles/ssh.dir/token.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/token.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/token.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 11%] Building C object src/CMakeFiles/ssh.dir/pki_ed25519_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/pki_ed25519_common.c.o -MF CMakeFiles/ssh.dir/pki_ed25519_common.c.o.d -o CMakeFiles/ssh.dir/pki_ed25519_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_ed25519_common.c [ 12%] Building C object src/CMakeFiles/ssh.dir/threads/noop.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/threads/noop.c.o -MF CMakeFiles/ssh.dir/threads/noop.c.o.d -o CMakeFiles/ssh.dir/threads/noop.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/noop.c [ 12%] Building C object src/CMakeFiles/ssh.dir/threads/pthread.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/threads/pthread.c.o -MF CMakeFiles/ssh.dir/threads/pthread.c.o.d -o CMakeFiles/ssh.dir/threads/pthread.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/pthread.c [ 12%] Building C object src/CMakeFiles/ssh.dir/threads/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/threads/libcrypto.c.o -MF CMakeFiles/ssh.dir/threads/libcrypto.c.o.d -o CMakeFiles/ssh.dir/threads/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/libcrypto.c [ 12%] Building C object src/CMakeFiles/ssh.dir/pki_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/pki_crypto.c.o -MF CMakeFiles/ssh.dir/pki_crypto.c.o.d -o CMakeFiles/ssh.dir/pki_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_crypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 13%] Building C object src/CMakeFiles/ssh.dir/ecdh_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/ecdh_crypto.c.o -MF CMakeFiles/ssh.dir/ecdh_crypto.c.o.d -o CMakeFiles/ssh.dir/ecdh_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c: In function ‘ecdh_build_k’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:233:5: note: (1) entry to ‘ecdh_build_k’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:302:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:309:8: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:310:6: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:320:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:329:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: note: (8) inlined call to ‘ecdh_kex_type_to_curve’ from ‘ecdh_build_k’ <--[csmock-gcc-wrapper] In function ‘ecdh_kex_type_to_curve’, inlined from ‘ecdh_build_k’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:54:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:56:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:56:15: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:58:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:58:15: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c: In function ‘ecdh_build_k’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: note: (15) argument 1 (‘’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 13%] Building C object src/CMakeFiles/ssh.dir/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/getrandom_crypto.c.o -MF CMakeFiles/ssh.dir/getrandom_crypto.c.o.d -o CMakeFiles/ssh.dir/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getrandom_crypto.c [ 13%] Building C object src/CMakeFiles/ssh.dir/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/md_crypto.c.o -MF CMakeFiles/ssh.dir/md_crypto.c.o.d -o CMakeFiles/ssh.dir/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/md_crypto.c [ 13%] Building C object src/CMakeFiles/ssh.dir/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/libcrypto.c.o -MF CMakeFiles/ssh.dir/libcrypto.c.o.d -o CMakeFiles/ssh.dir/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/libcrypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/libcrypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 14%] Building C object src/CMakeFiles/ssh.dir/dh_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/dh_crypto.c.o -MF CMakeFiles/ssh.dir/dh_crypto.c.o.d -o CMakeFiles/ssh.dir/dh_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh_crypto.c [ 14%] Building C object src/CMakeFiles/ssh.dir/sftp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/sftp.c.o -MF CMakeFiles/ssh.dir/sftp.c.o.d -o CMakeFiles/ssh.dir/sftp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:47: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 14%] Building C object src/CMakeFiles/ssh.dir/sftp_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/sftp_common.c.o -MF CMakeFiles/ssh.dir/sftp_common.c.o.d -o CMakeFiles/ssh.dir/sftp_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_common.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_common.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 14%] Building C object src/CMakeFiles/ssh.dir/sftp_aio.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/sftp_aio.c.o -MF CMakeFiles/ssh.dir/sftp_aio.c.o.d -o CMakeFiles/ssh.dir/sftp_aio.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_aio.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_aio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 15%] Building C object src/CMakeFiles/ssh.dir/sftpserver.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/sftpserver.c.o -MF CMakeFiles/ssh.dir/sftpserver.c.o.d -o CMakeFiles/ssh.dir/sftpserver.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (19) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (20) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (4) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1109:15: note: (6) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (7) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (8) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:671:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:671:19: note: (11) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:672:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:683:8: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (15) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (18) ‘’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_open’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:873:1: note: (1) entry to ‘process_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:907:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:916:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:916:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:917:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:917:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:924:11: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:926:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:926:16: note: (12) returning to ‘process_open’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:927:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:931:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (15) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:49: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (23) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (24) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:526:9: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:54: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:517:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (23) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (24) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:526:9: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:531:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:517:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:520:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:9: note: (24) inlined call to ‘__bswap_32’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] In file included from /usr/include/endian.h:35, <--[csmock-gcc-wrapper] from /usr/include/sys/types.h:176, <--[csmock-gcc-wrapper] from /usr/include/bits/socket.h:29, <--[csmock-gcc-wrapper] from /usr/include/sys/socket.h:33, <--[csmock-gcc-wrapper] from /usr/include/netinet/in.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:29: <--[csmock-gcc-wrapper] In function ‘__bswap_32’, inlined from ‘sftp_reply_status’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:9: /usr/include/bits/byteswap.h:52:10: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:520:46: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:522:9: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:52: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:523:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:522:47: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:524:9: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:523:40: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:530:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (34) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (35) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:531:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘sftp_handle_alloc’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:666:12: warning: leak of ‘*sftp.handles’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (4) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (6) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (7) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:666:12: note: (11) ‘*sftp.handles’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:956:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:941:1: note: (1) entry to ‘process_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:955:9: note: (2) calling ‘sftp_handle’ from ‘process_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:955:9: note: (6) returning to ‘process_read’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:956:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_write’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1014:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:998:1: note: (1) entry to ‘process_write’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1013:9: note: (2) calling ‘sftp_handle’ from ‘process_write’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1013:9: note: (6) returning to ‘process_write’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1014:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_close’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1059:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1047:1: note: (1) entry to ‘process_close’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1058:9: note: (2) calling ‘sftp_handle’ from ‘process_close’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1058:9: note: (6) returning to ‘process_close’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1059:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_readdir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1226:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1208:1: note: (1) entry to ‘process_readdir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1225:9: note: (2) calling ‘sftp_handle’ from ‘process_readdir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1225:9: note: (6) returning to ‘process_readdir’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1226:10: note: (7) dereference of NULL ‘sftp_handle(sftp, *client_msg.handle)’ <--[csmock-gcc-wrapper] [ 15%] Building C object src/CMakeFiles/ssh.dir/server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/server.c.o -MF CMakeFiles/ssh.dir/server.c.o.d -o CMakeFiles/ssh.dir/server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/server.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 15%] Building C object src/CMakeFiles/ssh.dir/bind.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/bind.c.o -MF CMakeFiles/ssh.dir/bind.c.o.d -o CMakeFiles/ssh.dir/bind.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c: In function ‘ssh_bind_accept_fd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: warning: leak of file descriptor ‘*sshbind.bindfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:558:5: note: (1) entry to ‘ssh_bind_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:563:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (4) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (6) stream socket marked as passive here via ‘listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (7) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:588:10: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:588:10: note: (10) calling ‘ssh_bind_accept_fd’ from ‘ssh_bind_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:421:5: note: (11) entry to ‘ssh_bind_accept_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:426:8: note: (12) following ‘false’ branch (when ‘sshbind’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:430:8: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:430:8: note: (14) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: note: (16) ‘*sshbind.bindfd’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c: In function ‘ssh_bind_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: warning: leak of file descriptor ‘*sshbind.bindfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:563:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (3) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: note: (5) ‘*sshbind.bindfd’ leaks here <--[csmock-gcc-wrapper] [ 15%] Building C object src/CMakeFiles/ssh.dir/bind_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/bind_config.c.o -MF CMakeFiles/ssh.dir/bind_config.c.o.d -o CMakeFiles/ssh.dir/bind_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind_config.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind_config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 16%] Building C object src/CMakeFiles/ssh.dir/dh-gex.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/dh-gex.c.o -MF CMakeFiles/ssh.dir/dh-gex.c.o.d -o CMakeFiles/ssh.dir/dh-gex.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh-gex.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh-gex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 16%] Building C object src/CMakeFiles/ssh.dir/gzip.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/gzip.c.o -MF CMakeFiles/ssh.dir/gzip.c.o.d -o CMakeFiles/ssh.dir/gzip.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gzip.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gzip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 16%] Building C object src/CMakeFiles/ssh.dir/gssapi.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -fPIC -fvisibility=hidden -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/gssapi.c.o -MF CMakeFiles/ssh.dir/gssapi.c.o.d -o CMakeFiles/ssh.dir/gssapi.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c: In function ‘ssh_packet_userauth_gssapi_token_server’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:69:9: warning: leak of ‘ssh_gssapi_name_to_char(client_name)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:192, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/session.h:25, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/gssapi.h:26, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:32: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:334:21: note: (1) entry to ‘ssh_packet_userauth_gssapi_token_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:561:13: note: in definition of macro ‘SSH_PACKET_CALLBACK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:348:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:352:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:354:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:359:37: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:467:4: note: in definition of macro ‘ssh_callbacks_exists’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:396:8: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:397:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:398:41: note: (8) calling ‘ssh_gssapi_name_to_char’ from ‘ssh_packet_userauth_gssapi_token_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:312:1: note: (9) entry to ‘ssh_gssapi_name_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:322:11: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:323:8: note: (11) assuming ‘ptr’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:323:8: note: (12) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:327:23: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:398:41: note: (14) returning to ‘ssh_packet_userauth_gssapi_token_server’ from ‘ssh_gssapi_name_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:69:9: note: (15) ‘ssh_gssapi_name_to_char(client_name)’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c: In function ‘ssh_packet_userauth_gssapi_response’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘ssh_gssapi_oid_from_string(ssh_buffer_get_ssh_string(packet))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:860:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:838:21: note: (1) entry to ‘ssh_packet_userauth_gssapi_response’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:561:13: note: in definition of macro ‘SSH_PACKET_CALLBACK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:849:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:854:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:855:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:12: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:35: note: (6) calling ‘ssh_gssapi_oid_from_string’ from ‘ssh_packet_userauth_gssapi_response’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:802:16: note: (7) entry to ‘ssh_gssapi_oid_from_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:808:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:812:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:812:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:817:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:817:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:822:11: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:822:11: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:823:8: note: (15) assuming ‘ret’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:823:8: note: (16) following ‘false’ branch (when ‘ret’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:827:21: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:828:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:832:27: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:35: note: (20) returning to ‘ssh_packet_userauth_gssapi_response’ from ‘ssh_gssapi_oid_from_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (21) ‘ssh_gssapi_oid_from_string(ssh_buffer_get_ssh_string(packet))’ leaks here; was allocated at (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:860:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] [ 16%] Linking C shared library ../lib/libssh.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libssh.so.4 -o ../lib/libssh.so.4.10.1 CMakeFiles/ssh.dir/agent.c.o CMakeFiles/ssh.dir/auth.c.o CMakeFiles/ssh.dir/base64.c.o CMakeFiles/ssh.dir/bignum.c.o CMakeFiles/ssh.dir/buffer.c.o CMakeFiles/ssh.dir/callbacks.c.o CMakeFiles/ssh.dir/channels.c.o CMakeFiles/ssh.dir/client.c.o CMakeFiles/ssh.dir/config.c.o CMakeFiles/ssh.dir/connect.c.o CMakeFiles/ssh.dir/connector.c.o CMakeFiles/ssh.dir/crypto_common.c.o CMakeFiles/ssh.dir/curve25519.c.o CMakeFiles/ssh.dir/dh.c.o CMakeFiles/ssh.dir/ecdh.c.o CMakeFiles/ssh.dir/error.c.o CMakeFiles/ssh.dir/getpass.c.o CMakeFiles/ssh.dir/init.c.o CMakeFiles/ssh.dir/kdf.c.o CMakeFiles/ssh.dir/kex.c.o CMakeFiles/ssh.dir/known_hosts.c.o CMakeFiles/ssh.dir/knownhosts.c.o CMakeFiles/ssh.dir/legacy.c.o CMakeFiles/ssh.dir/log.c.o CMakeFiles/ssh.dir/match.c.o CMakeFiles/ssh.dir/messages.c.o CMakeFiles/ssh.dir/misc.c.o CMakeFiles/ssh.dir/options.c.o CMakeFiles/ssh.dir/packet.c.o CMakeFiles/ssh.dir/packet_cb.c.o CMakeFiles/ssh.dir/packet_crypt.c.o CMakeFiles/ssh.dir/pcap.c.o CMakeFiles/ssh.dir/pki.c.o CMakeFiles/ssh.dir/pki_container_openssh.c.o CMakeFiles/ssh.dir/poll.c.o CMakeFiles/ssh.dir/session.c.o CMakeFiles/ssh.dir/scp.c.o CMakeFiles/ssh.dir/socket.c.o CMakeFiles/ssh.dir/string.c.o CMakeFiles/ssh.dir/threads.c.o CMakeFiles/ssh.dir/ttyopts.c.o CMakeFiles/ssh.dir/wrapper.c.o CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o CMakeFiles/ssh.dir/external/blowfish.c.o CMakeFiles/ssh.dir/config_parser.c.o CMakeFiles/ssh.dir/token.c.o CMakeFiles/ssh.dir/pki_ed25519_common.c.o CMakeFiles/ssh.dir/threads/noop.c.o CMakeFiles/ssh.dir/threads/pthread.c.o CMakeFiles/ssh.dir/threads/libcrypto.c.o CMakeFiles/ssh.dir/pki_crypto.c.o CMakeFiles/ssh.dir/ecdh_crypto.c.o CMakeFiles/ssh.dir/getrandom_crypto.c.o CMakeFiles/ssh.dir/md_crypto.c.o CMakeFiles/ssh.dir/libcrypto.c.o CMakeFiles/ssh.dir/dh_crypto.c.o CMakeFiles/ssh.dir/sftp.c.o CMakeFiles/ssh.dir/sftp_common.c.o CMakeFiles/ssh.dir/sftp_aio.c.o CMakeFiles/ssh.dir/sftpserver.c.o CMakeFiles/ssh.dir/server.c.o CMakeFiles/ssh.dir/bind.c.o CMakeFiles/ssh.dir/bind_config.c.o "CMakeFiles/ssh.dir/dh-gex.c.o" CMakeFiles/ssh.dir/gzip.c.o CMakeFiles/ssh.dir/gssapi.c.o -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -Wl,--version-script,"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/libssh.map" cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libssh.so.4.10.1 ../lib/libssh.so.4 ../lib/libssh.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 16%] Built target ssh /usr/bin/gmake -f src/CMakeFiles/ssh-static.dir/build.make src/CMakeFiles/ssh-static.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src/CMakeFiles/ssh-static.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/ssh-static.dir/build.make src/CMakeFiles/ssh-static.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 16%] Building C object src/CMakeFiles/ssh-static.dir/agent.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/agent.c.o -MF CMakeFiles/ssh-static.dir/agent.c.o.d -o CMakeFiles/ssh-static.dir/agent.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/agent.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/agent.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 16%] Building C object src/CMakeFiles/ssh-static.dir/auth.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/auth.c.o -MF CMakeFiles/ssh-static.dir/auth.c.o.d -o CMakeFiles/ssh-static.dir/auth.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c: In function ‘ssh_packet_userauth_info_request’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: warning: leak of ‘calloc((long unsigned int)nprompts, 8)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1943:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:38: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1953:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:70: note: in definition of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1961:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1968:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1970:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1980:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1982:32: note: (7) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: note: (8) ‘calloc((long unsigned int)nprompts, 8)’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1993:8: warning: leak of ‘calloc((long unsigned int)nprompts, 1)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1943:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1953:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:70: note: in definition of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1961:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1968:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1970:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1980:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1983:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1992:29: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1992:29: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/auth.c:1993:8: note: (10) ‘calloc((long unsigned int)nprompts, 1)’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] [ 16%] Building C object src/CMakeFiles/ssh-static.dir/base64.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/base64.c.o -MF CMakeFiles/ssh-static.dir/base64.c.o.d -o CMakeFiles/ssh-static.dir/base64.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/base64.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/base64.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 17%] Building C object src/CMakeFiles/ssh-static.dir/bignum.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/bignum.c.o -MF CMakeFiles/ssh-static.dir/bignum.c.o.d -o CMakeFiles/ssh-static.dir/bignum.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bignum.c [ 17%] Building C object src/CMakeFiles/ssh-static.dir/buffer.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/buffer.c.o -MF CMakeFiles/ssh-static.dir/buffer.c.o.d -o CMakeFiles/ssh-static.dir/buffer.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c: In function ‘ssh_buffer_unpack_va’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1354:5: note: (1) entry to ‘_ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1363:10: note: (2) calling ‘ssh_buffer_unpack_va’ from ‘_ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1091:5: note: (3) entry to ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1119:8: note: (4) following ‘false’ branch (when ‘argc <= 256’)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:24: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (8) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (10) following ‘case 80:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1215:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1217:16: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (14) calling ‘ssh_buffer_validate_length’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:749:5: note: (15) entry to ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (16) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:33: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (18) returning to ‘ssh_buffer_unpack_va’ from ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1223:16: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1230:23: note: (21) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1231:15: note: (22) assuming ‘malloc(len)’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1231:15: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (25) calling ‘ssh_buffer_get_data’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:677:10: note: (26) entry to ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:685:10: note: (27) calling ‘ssh_buffer_validate_length’ from ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:749:5: note: (28) entry to ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (29) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:33: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:685:10: note: (31) returning to ‘ssh_buffer_get_data’ from ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:686:8: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (33) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1235:20: note: (34) returning to ‘ssh_buffer_unpack_va’ from ‘ssh_buffer_get_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1236:16: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:34: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1124:24: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1126:12: note: (39) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1132:9: note: (41) following ‘case 80:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1215:9: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1217:16: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (45) calling ‘ssh_buffer_validate_length’ from ‘ssh_buffer_unpack_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:749:5: note: (46) entry to ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:8: note: (47) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:751:33: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1222:18: note: (49) returning to ‘ssh_buffer_unpack_va’ from ‘ssh_buffer_validate_length’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1223:16: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1227:22: note: (52) ‘’ leaks here; was allocated at (21) <--[csmock-gcc-wrapper] [ 17%] Building C object src/CMakeFiles/ssh-static.dir/callbacks.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/callbacks.c.o -MF CMakeFiles/ssh-static.dir/callbacks.c.o.d -o CMakeFiles/ssh-static.dir/callbacks.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/callbacks.c [ 17%] Building C object src/CMakeFiles/ssh-static.dir/channels.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/channels.c.o -MF CMakeFiles/ssh-static.dir/channels.c.o.d -o CMakeFiles/ssh-static.dir/channels.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/channels.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/channels.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 18%] Building C object src/CMakeFiles/ssh-static.dir/client.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/client.c.o -MF CMakeFiles/ssh-static.dir/client.c.o.d -o CMakeFiles/ssh-static.dir/client.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/client.c [ 18%] Building C object src/CMakeFiles/ssh-static.dir/config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/config.c.o -MF CMakeFiles/ssh-static.dir/config.c.o.d -o CMakeFiles/ssh-static.dir/config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 18%] Building C object src/CMakeFiles/ssh-static.dir/connect.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/connect.c.o -MF CMakeFiles/ssh-static.dir/connect.c.o.d -o CMakeFiles/ssh-static.dir/connect.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connect.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connect.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 18%] Building C object src/CMakeFiles/ssh-static.dir/connector.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/connector.c.o -MF CMakeFiles/ssh-static.dir/connector.c.o.d -o CMakeFiles/ssh-static.dir/connector.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connector.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/connector.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 19%] Building C object src/CMakeFiles/ssh-static.dir/crypto_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/crypto_common.c.o -MF CMakeFiles/ssh-static.dir/crypto_common.c.o.d -o CMakeFiles/ssh-static.dir/crypto_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/crypto_common.c [ 19%] Building C object src/CMakeFiles/ssh-static.dir/curve25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/curve25519.c.o -MF CMakeFiles/ssh-static.dir/curve25519.c.o.d -o CMakeFiles/ssh-static.dir/curve25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/curve25519.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/curve25519.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 19%] Building C object src/CMakeFiles/ssh-static.dir/dh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/dh.c.o -MF CMakeFiles/ssh-static.dir/dh.c.o.d -o CMakeFiles/ssh-static.dir/dh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh.c [ 19%] Building C object src/CMakeFiles/ssh-static.dir/ecdh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/ecdh.c.o -MF CMakeFiles/ssh-static.dir/ecdh.c.o.d -o CMakeFiles/ssh-static.dir/ecdh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh.c [ 20%] Building C object src/CMakeFiles/ssh-static.dir/error.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/error.c.o -MF CMakeFiles/ssh-static.dir/error.c.o.d -o CMakeFiles/ssh-static.dir/error.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/error.c [ 20%] Building C object src/CMakeFiles/ssh-static.dir/getpass.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/getpass.c.o -MF CMakeFiles/ssh-static.dir/getpass.c.o.d -o CMakeFiles/ssh-static.dir/getpass.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getpass.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getpass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 20%] Building C object src/CMakeFiles/ssh-static.dir/init.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/init.c.o -MF CMakeFiles/ssh-static.dir/init.c.o.d -o CMakeFiles/ssh-static.dir/init.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/init.c [ 20%] Building C object src/CMakeFiles/ssh-static.dir/kdf.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/kdf.c.o -MF CMakeFiles/ssh-static.dir/kdf.c.o.d -o CMakeFiles/ssh-static.dir/kdf.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kdf.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kdf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 21%] Building C object src/CMakeFiles/ssh-static.dir/kex.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/kex.c.o -MF CMakeFiles/ssh-static.dir/kex.c.o.d -o CMakeFiles/ssh-static.dir/kex.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c: In function ‘ssh_kex_select_methods’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:40: warning: leak of ‘*crypto.kex_methods[i]’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:943:5: note: (1) entry to ‘ssh_kex_select_methods’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (2) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (8) following ‘false’ branch (when ‘i <= 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:39: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (10) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:66: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:25: note: (14) calling ‘ssh_find_aead_hmac’ from ‘ssh_kex_select_methods’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:854:20: note: (15) entry to ‘ssh_find_aead_hmac’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:856:8: note: (16) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:858:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:973:25: note: (18) returning to ‘ssh_kex_select_methods’ from ‘ssh_find_aead_hmac’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:974:16: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:975:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:42: note: (21) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:976:40: note: (22) ‘*crypto.kex_methods[i]’ leaks here; was allocated at (21) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:36: warning: leak of ‘*crypto.kex_methods[i]’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (1) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:972:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:32: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:19: note: (7) following ‘false’ branch (when ‘i <= 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:968:19: note: (9) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:970:67: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:979:44: note: (11) following ‘false’ branch (when ‘i > 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:985:40: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:38: note: (13) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/kex.c:987:36: note: (14) ‘*crypto.kex_methods[i]’ leaks here; was allocated at (13) <--[csmock-gcc-wrapper] [ 21%] Building C object src/CMakeFiles/ssh-static.dir/known_hosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -Wno-deprecated-declarations -MD -MT src/CMakeFiles/ssh-static.dir/known_hosts.c.o -MF CMakeFiles/ssh-static.dir/known_hosts.c.o.d -o CMakeFiles/ssh-static.dir/known_hosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/known_hosts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/known_hosts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 21%] Building C object src/CMakeFiles/ssh-static.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/knownhosts.c.o -MF CMakeFiles/ssh-static.dir/knownhosts.c.o.d -o CMakeFiles/ssh-static.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/knownhosts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/knownhosts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 21%] Building C object src/CMakeFiles/ssh-static.dir/legacy.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/legacy.c.o -MF CMakeFiles/ssh-static.dir/legacy.c.o.d -o CMakeFiles/ssh-static.dir/legacy.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 130 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:32: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[gcc] 101 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 134 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 137 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 144 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[gcc] 95 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[gcc] 198 | return ssh_channel_get_exit_status(channel); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[gcc] 471 | SSH_DEPRECATED LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[gcc] 296 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[gcc] 584 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 726 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[gcc] 493 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:32: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[csmock-gcc-wrapper] [ 21%] Building C object src/CMakeFiles/ssh-static.dir/log.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/log.c.o -MF CMakeFiles/ssh-static.dir/log.c.o.d -o CMakeFiles/ssh-static.dir/log.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/log.c [ 22%] Building C object src/CMakeFiles/ssh-static.dir/match.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/match.c.o -MF CMakeFiles/ssh-static.dir/match.c.o.d -o CMakeFiles/ssh-static.dir/match.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/match.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/match.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 22%] Building C object src/CMakeFiles/ssh-static.dir/messages.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/messages.c.o -MF CMakeFiles/ssh-static.dir/messages.c.o.d -o CMakeFiles/ssh-static.dir/messages.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/messages.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/messages.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 22%] Building C object src/CMakeFiles/ssh-static.dir/misc.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/misc.c.o -MF CMakeFiles/ssh-static.dir/misc.c.o.d -o CMakeFiles/ssh-static.dir/misc.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c: In function ‘ssh_path_expand_tilde.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1129:9: note: (1) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1130:8: note: (2) following ‘true’ branch (when ‘d < p’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1135:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1138:12: note: (4) following ‘false’ branch (when ‘s <= 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1141:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1144:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (8) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 22%] Building C object src/CMakeFiles/ssh-static.dir/options.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/options.c.o -MF CMakeFiles/ssh-static.dir/options.c.o.d -o CMakeFiles/ssh-static.dir/options.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In function ‘ssh_options_set’: cc1: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:656:8: note: (1) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:660:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:660:5: note: (3) following ‘case 31 ... 34:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1205:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1209:16: note: (5) following ‘false’ branch (when ‘value’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:1213:21: note: (6) ...to here <--[csmock-gcc-wrapper] cc1: note: (7) following ‘true’ branch... cc1: note: (8) ...to here cc1: note: (9) read of 4 bytes at offset ‘type * 4 + 17179869060’ exceeds ‘CSWTCH.32’ cc1: note: valid subscripts for ‘CSWTCH.32’ are ‘[0]’ to ‘[2]’ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c: In function ‘ssh_options_copy’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:76:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:80:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:81:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:85:18: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:118:19: note: (5) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:119:16: note: (7) following ‘true’ branch (when ‘it’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:35: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:123:16: note: (10) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:123:16: note: (11) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:128:18: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:129:16: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:134:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:119:16: note: (15) following ‘true’ branch (when ‘it’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:35: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/options.c:122:18: note: (17) ‘id’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] [ 23%] Building C object src/CMakeFiles/ssh-static.dir/packet.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/packet.c.o -MF CMakeFiles/ssh-static.dir/packet.c.o.d -o CMakeFiles/ssh-static.dir/packet.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c: In function ‘packet_send2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:19: warning: dereference of NULL ‘*session.next_crypto’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1671:12: note: (1) entry to ‘packet_send2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1688:14: note: (2) calling ‘ssh_packet_get_current_crypto’ from ‘packet_send2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:942:1: note: (3) entry to ‘ssh_packet_get_current_crypto’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:947:8: note: (4) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:951:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:954:15: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1688:14: note: (8) returning to ‘packet_send2’ from ‘ssh_packet_get_current_crypto’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1689:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:28: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet.c:1695:19: note: (11) dereference of NULL ‘*session.next_crypto’ <--[csmock-gcc-wrapper] [ 23%] Building C object src/CMakeFiles/ssh-static.dir/packet_cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/packet_cb.c.o -MF CMakeFiles/ssh-static.dir/packet_cb.c.o.d -o CMakeFiles/ssh-static.dir/packet_cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_cb.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_cb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 23%] Building C object src/CMakeFiles/ssh-static.dir/packet_crypt.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/packet_crypt.c.o -MF CMakeFiles/ssh-static.dir/packet_crypt.c.o.d -o CMakeFiles/ssh-static.dir/packet_crypt.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_crypt.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/packet_crypt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 23%] Building C object src/CMakeFiles/ssh-static.dir/pcap.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/pcap.c.o -MF CMakeFiles/ssh-static.dir/pcap.c.o.d -o CMakeFiles/ssh-static.dir/pcap.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pcap.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 24%] Building C object src/CMakeFiles/ssh-static.dir/pki.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/pki.c.o -MF CMakeFiles/ssh-static.dir/pki.c.o.d -o CMakeFiles/ssh-static.dir/pki.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 24%] Building C object src/CMakeFiles/ssh-static.dir/pki_container_openssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/pki_container_openssh.c.o -MF CMakeFiles/ssh-static.dir/pki_container_openssh.c.o.d -o CMakeFiles/ssh-static.dir/pki_container_openssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_container_openssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_container_openssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 24%] Building C object src/CMakeFiles/ssh-static.dir/poll.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/poll.c.o -MF CMakeFiles/ssh-static.dir/poll.c.o.d -o CMakeFiles/ssh-static.dir/poll.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/poll.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/poll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 24%] Building C object src/CMakeFiles/ssh-static.dir/session.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/session.c.o -MF CMakeFiles/ssh-static.dir/session.c.o.d -o CMakeFiles/ssh-static.dir/session.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c: In function ‘ssh_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (33) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (37) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (41) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (42) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (41) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (33) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (34) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (35) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (39) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (33) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:60:13: note: (1) entry to ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:67:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:71:28: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:72:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:76:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:77:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:81:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:82:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:86:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:87:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:91:26: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:92:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:96:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (14) calling ‘ssh_set_blocking’ from ‘ssh_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:561:6: note: (15) entry to ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:563:8: note: (16) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:566:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:98:5: note: (18) returning to ‘ssh_new’ from ‘ssh_set_blocking’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:103:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:108:41: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:124:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:127:38: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:128:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:132:33: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:133:8: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:136:41: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:137:8: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:143:33: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:144:8: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:148:41: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:149:8: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:153:10: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:154:8: note: (33) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:158:10: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:159:8: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:164:10: note: (37) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (38) assuming ‘id’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:165:8: note: (39) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:168:10: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:169:8: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:174:10: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:175:8: note: (43) following ‘false’ branch (when ‘id’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:178:10: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:179:8: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:184:28: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/session.c:191:33: note: (47) ‘id’ leaks here; was allocated at (37) <--[csmock-gcc-wrapper] [ 25%] Building C object src/CMakeFiles/ssh-static.dir/scp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/scp.c.o -MF CMakeFiles/ssh-static.dir/scp.c.o.d -o CMakeFiles/ssh-static.dir/scp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:110:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:30: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:303:9: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:249:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_push_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:577:5: warning: ‘ssh_scp_push_file64’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:472:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_new’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:1023:9: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:969:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:110:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 110 | ssh_scp_free(scp); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:30: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_free’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:303:9: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 303 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:249:5: note: declared here <--[gcc] 249 | int ssh_scp_close(ssh_scp scp) | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_push_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:577:5: warning: ‘ssh_scp_push_file64’ is deprecated [-Wdeprecated-declarations] <--[gcc] 577 | return ssh_scp_push_file64(scp, filename, (uint64_t) size, mode); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:472:5: note: declared here <--[gcc] 472 | int ssh_scp_push_file64(ssh_scp scp, const char *filename, uint64_t size, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c: In function ‘ssh_scp_read’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:1023:9: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 1023 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/scp.c:969:5: note: declared here <--[gcc] 969 | int ssh_scp_accept_request(ssh_scp scp) | ^~~~~~~~~~~~~~~~~~~~~~ [ 25%] Building C object src/CMakeFiles/ssh-static.dir/socket.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/socket.c.o -MF CMakeFiles/ssh-static.dir/socket.c.o.d -o CMakeFiles/ssh-static.dir/socket.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c: In function ‘ssh_execute_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: warning: leak of file descriptor ‘open("/dev/null", 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:913:15: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (2) assuming ‘open("/dev/null", 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:923:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: note: (5) ‘open("/dev/null", 1)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:942:5: warning: double ‘close’ of file descriptor ‘out’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:963:1: note: (1) entry to ‘ssh_socket_connect_proxycommand’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:970:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:974:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:975:8: note: (4) following ‘false’ branch (when ‘rc >= 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:52: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:979:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:981:8: note: (6) following ‘true’ branch (when ‘pid == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:982:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:982:9: note: (8) calling ‘ssh_execute_command’ from ‘ssh_socket_connect_proxycommand’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:905:1: note: (9) entry to ‘ssh_execute_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:914:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:923:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:941:5: note: (12) first ‘close’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/socket.c:942:5: note: (13) second ‘close’ here; first ‘close’ was at (12) <--[csmock-gcc-wrapper] [ 25%] Building C object src/CMakeFiles/ssh-static.dir/string.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/string.c.o -MF CMakeFiles/ssh-static.dir/string.c.o.d -o CMakeFiles/ssh-static.dir/string.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/string.c [ 25%] Building C object src/CMakeFiles/ssh-static.dir/threads.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/threads.c.o -MF CMakeFiles/ssh-static.dir/threads.c.o.d -o CMakeFiles/ssh-static.dir/threads.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads.c [ 26%] Building C object src/CMakeFiles/ssh-static.dir/ttyopts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/ttyopts.c.o -MF CMakeFiles/ssh-static.dir/ttyopts.c.o.d -o CMakeFiles/ssh-static.dir/ttyopts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ttyopts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ttyopts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 26%] Building C object src/CMakeFiles/ssh-static.dir/wrapper.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/wrapper.c.o -MF CMakeFiles/ssh-static.dir/wrapper.c.o.d -o CMakeFiles/ssh-static.dir/wrapper.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c: In function ‘crypt_set_algorithms2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:261:12: note: (1) entry to ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:24: note: (2) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:40: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:284:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:45: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:290:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:292:40: note: (6) calling ‘cipher_new’ from ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (7) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (8) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (9) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (10) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:292:40: note: (12) returning to ‘crypt_set_algorithms2’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:16: note: (13) ‘cipher_new((int)i)’ leaks here; was allocated at (8) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:352:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:261:12: note: (1) entry to ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:24: note: (2) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:277:40: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:284:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:290:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:293:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:298:41: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:315:37: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:316:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:322:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:328:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:336:39: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:337:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:343:8: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:349:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:351:39: note: (16) calling ‘cipher_new’ from ‘crypt_set_algorithms2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (17) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (18) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (19) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (20) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:351:39: note: (22) returning to ‘crypt_set_algorithms2’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:352:16: note: (23) ‘cipher_new((int)i)’ leaks here; was allocated at (18) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c: In function ‘crypt_set_algorithms_server’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:421:5: note: (1) entry to ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:428:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:437:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:439:39: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:440:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:446:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:451:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:453:40: note: (8) calling ‘cipher_new’ from ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (9) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (11) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (12) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:453:40: note: (14) returning to ‘crypt_set_algorithms_server’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:16: note: (15) ‘cipher_new((int)i)’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:509:16: warning: leak of ‘cipher_new((int)i)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:421:5: note: (1) entry to ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:428:8: note: (2) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:437:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:439:39: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:440:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:446:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:451:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:454:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:459:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:473:37: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:474:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:480:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:486:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:494:17: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:495:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:501:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:506:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:508:39: note: (18) calling ‘cipher_new’ from ‘crypt_set_algorithms_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:111:34: note: (19) entry to ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:114:12: note: (20) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (21) assuming ‘cipher’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:115:6: note: (22) following ‘false’ branch (when ‘cipher’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:120:19: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:508:39: note: (24) returning to ‘crypt_set_algorithms_server’ from ‘cipher_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/wrapper.c:509:16: note: (25) ‘cipher_new((int)i)’ leaks here; was allocated at (20) <--[csmock-gcc-wrapper] [ 26%] Building C object src/CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o -MF CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o.d -o CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/bcrypt_pbkdf.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/bcrypt_pbkdf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 26%] Building C object src/CMakeFiles/ssh-static.dir/external/blowfish.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/external/blowfish.c.o -MF CMakeFiles/ssh-static.dir/external/blowfish.c.o.d -o CMakeFiles/ssh-static.dir/external/blowfish.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/blowfish.c [ 27%] Building C object src/CMakeFiles/ssh-static.dir/config_parser.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/config_parser.c.o -MF CMakeFiles/ssh-static.dir/config_parser.c.o.d -o CMakeFiles/ssh-static.dir/config_parser.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config_parser.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/config_parser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 27%] Building C object src/CMakeFiles/ssh-static.dir/token.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/token.c.o -MF CMakeFiles/ssh-static.dir/token.c.o.d -o CMakeFiles/ssh-static.dir/token.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/token.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/token.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 27%] Building C object src/CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o -MF CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o.d -o CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_ed25519_common.c [ 27%] Building C object src/CMakeFiles/ssh-static.dir/threads/noop.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/threads/noop.c.o -MF CMakeFiles/ssh-static.dir/threads/noop.c.o.d -o CMakeFiles/ssh-static.dir/threads/noop.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/noop.c [ 28%] Building C object src/CMakeFiles/ssh-static.dir/threads/pthread.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/threads/pthread.c.o -MF CMakeFiles/ssh-static.dir/threads/pthread.c.o.d -o CMakeFiles/ssh-static.dir/threads/pthread.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/pthread.c [ 28%] Building C object src/CMakeFiles/ssh-static.dir/threads/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/threads/libcrypto.c.o -MF CMakeFiles/ssh-static.dir/threads/libcrypto.c.o.d -o CMakeFiles/ssh-static.dir/threads/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/threads/libcrypto.c [ 28%] Building C object src/CMakeFiles/ssh-static.dir/pki_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/pki_crypto.c.o -MF CMakeFiles/ssh-static.dir/pki_crypto.c.o.d -o CMakeFiles/ssh-static.dir/pki_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_crypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki_crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 28%] Building C object src/CMakeFiles/ssh-static.dir/ecdh_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/ecdh_crypto.c.o -MF CMakeFiles/ssh-static.dir/ecdh_crypto.c.o.d -o CMakeFiles/ssh-static.dir/ecdh_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c: In function ‘ecdh_build_k’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:233:5: note: (1) entry to ‘ecdh_build_k’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:302:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:309:8: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:310:6: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:320:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:329:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: note: (8) inlined call to ‘ecdh_kex_type_to_curve’ from ‘ecdh_build_k’ <--[csmock-gcc-wrapper] In function ‘ecdh_kex_type_to_curve’, inlined from ‘ecdh_build_k’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:338:11: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:54:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:56:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:56:15: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:58:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:58:15: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c: In function ‘ecdh_build_k’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/ecdh_crypto.c:339:8: note: (15) argument 1 (‘’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 29%] Building C object src/CMakeFiles/ssh-static.dir/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/getrandom_crypto.c.o -MF CMakeFiles/ssh-static.dir/getrandom_crypto.c.o.d -o CMakeFiles/ssh-static.dir/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getrandom_crypto.c [ 29%] Building C object src/CMakeFiles/ssh-static.dir/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/md_crypto.c.o -MF CMakeFiles/ssh-static.dir/md_crypto.c.o.d -o CMakeFiles/ssh-static.dir/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/md_crypto.c [ 29%] Building C object src/CMakeFiles/ssh-static.dir/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/libcrypto.c.o -MF CMakeFiles/ssh-static.dir/libcrypto.c.o.d -o CMakeFiles/ssh-static.dir/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/libcrypto.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/libcrypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 29%] Building C object src/CMakeFiles/ssh-static.dir/dh_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/dh_crypto.c.o -MF CMakeFiles/ssh-static.dir/dh_crypto.c.o.d -o CMakeFiles/ssh-static.dir/dh_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh_crypto.c [ 29%] Building C object src/CMakeFiles/ssh-static.dir/sftp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/sftp.c.o -MF CMakeFiles/ssh-static.dir/sftp.c.o.d -o CMakeFiles/ssh-static.dir/sftp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:47: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 30%] Building C object src/CMakeFiles/ssh-static.dir/sftp_common.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/sftp_common.c.o -MF CMakeFiles/ssh-static.dir/sftp_common.c.o.d -o CMakeFiles/ssh-static.dir/sftp_common.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_common.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_common.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 30%] Building C object src/CMakeFiles/ssh-static.dir/sftp_aio.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/sftp_aio.c.o -MF CMakeFiles/ssh-static.dir/sftp_aio.c.o.d -o CMakeFiles/ssh-static.dir/sftp_aio.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_aio.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp_aio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 30%] Building C object src/CMakeFiles/ssh-static.dir/sftpserver.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/sftpserver.c.o -MF CMakeFiles/ssh-static.dir/sftpserver.c.o.d -o CMakeFiles/ssh-static.dir/sftpserver.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (19) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (20) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (4) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1109:15: note: (6) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (7) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (8) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:671:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:671:19: note: (11) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:672:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:683:8: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (15) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (18) ‘’ leaks here; was allocated at (6) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_open’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:873:1: note: (1) entry to ‘process_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:907:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:916:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:916:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:917:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:917:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:924:11: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:926:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:926:16: note: (12) returning to ‘process_open’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:927:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:931:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (15) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:49: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (23) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (24) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:513:9: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:526:9: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:54: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:517:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (23) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (24) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:526:9: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘h’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:531:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (5) assuming ‘h’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (6) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (8) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (9) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (12) returning to ‘process_opendir’ from ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1113:8: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1117:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (15) calling ‘sftp_reply_status’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:501:1: note: (16) entry to ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:507:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (19) following ‘true’ branch (when ‘message’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:511:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:512:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:517:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:520:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:9: note: (24) inlined call to ‘__bswap_32’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] In file included from /usr/include/endian.h:35, <--[csmock-gcc-wrapper] from /usr/include/sys/types.h:176, <--[csmock-gcc-wrapper] from /usr/include/bits/socket.h:29, <--[csmock-gcc-wrapper] from /usr/include/sys/socket.h:33, <--[csmock-gcc-wrapper] from /usr/include/netinet/in.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:29: <--[csmock-gcc-wrapper] In function ‘__bswap_32’, inlined from ‘sftp_reply_status’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:9: /usr/include/bits/byteswap.h:52:10: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_opendir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:520:46: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:522:9: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:521:52: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:523:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:522:47: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:524:9: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:523:40: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:530:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1118:9: note: (34) returning to ‘process_opendir’ from ‘sftp_reply_status’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (35) ‘h’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:531:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘sftp_handle_alloc’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:666:12: warning: leak of ‘*sftp.handles’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1085:1: note: (1) entry to ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1095:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1100:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1101:8: note: (4) following ‘false’ branch (when ‘h’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1108:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1111:16: note: (6) calling ‘sftp_handle_alloc’ from ‘process_opendir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:658:12: note: (7) entry to ‘sftp_handle_alloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:664:8: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:665:25: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:666:12: note: (11) ‘*sftp.handles’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:956:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:941:1: note: (1) entry to ‘process_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:955:9: note: (2) calling ‘sftp_handle’ from ‘process_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:955:9: note: (6) returning to ‘process_read’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:956:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_write’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1014:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:998:1: note: (1) entry to ‘process_write’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1013:9: note: (2) calling ‘sftp_handle’ from ‘process_write’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1013:9: note: (6) returning to ‘process_write’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1014:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_close’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1059:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1047:1: note: (1) entry to ‘process_close’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1058:9: note: (2) calling ‘sftp_handle’ from ‘process_close’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1058:9: note: (6) returning to ‘process_close’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1059:10: note: (7) dereference of NULL ‘sftp_handle(sftp, handle)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c: In function ‘process_readdir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1226:10: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1208:1: note: (1) entry to ‘process_readdir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1225:9: note: (2) calling ‘sftp_handle’ from ‘process_readdir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:693:7: note: (3) entry to ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:697:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1225:9: note: (6) returning to ‘process_readdir’ from ‘sftp_handle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftpserver.c:1226:10: note: (7) dereference of NULL ‘sftp_handle(sftp, *client_msg.handle)’ <--[csmock-gcc-wrapper] [ 30%] Building C object src/CMakeFiles/ssh-static.dir/server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/server.c.o -MF CMakeFiles/ssh-static.dir/server.c.o.d -o CMakeFiles/ssh-static.dir/server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/server.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 31%] Building C object src/CMakeFiles/ssh-static.dir/bind.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/bind.c.o -MF CMakeFiles/ssh-static.dir/bind.c.o.d -o CMakeFiles/ssh-static.dir/bind.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c: In function ‘ssh_bind_accept_fd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: warning: leak of file descriptor ‘*sshbind.bindfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:558:5: note: (1) entry to ‘ssh_bind_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:563:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (4) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (6) stream socket marked as passive here via ‘listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (7) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:588:10: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:588:10: note: (10) calling ‘ssh_bind_accept_fd’ from ‘ssh_bind_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:421:5: note: (11) entry to ‘ssh_bind_accept_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:426:8: note: (12) following ‘false’ branch (when ‘sshbind’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:430:8: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:430:8: note: (14) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:435:21: note: (16) ‘*sshbind.bindfd’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c: In function ‘ssh_bind_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: warning: leak of file descriptor ‘*sshbind.bindfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:563:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:569:8: note: (3) following ‘false’ branch (when ‘session’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:574:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind.c:575:8: note: (5) ‘*sshbind.bindfd’ leaks here <--[csmock-gcc-wrapper] [ 31%] Building C object src/CMakeFiles/ssh-static.dir/bind_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/bind_config.c.o -MF CMakeFiles/ssh-static.dir/bind_config.c.o.d -o CMakeFiles/ssh-static.dir/bind_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind_config.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/bind_config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 31%] Building C object src/CMakeFiles/ssh-static.dir/dh-gex.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/dh-gex.c.o -MF CMakeFiles/ssh-static.dir/dh-gex.c.o.d -o CMakeFiles/ssh-static.dir/dh-gex.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh-gex.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/dh-gex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 31%] Building C object src/CMakeFiles/ssh-static.dir/gzip.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/gzip.c.o -MF CMakeFiles/ssh-static.dir/gzip.c.o.d -o CMakeFiles/ssh-static.dir/gzip.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gzip.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gzip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 32%] Building C object src/CMakeFiles/ssh-static.dir/gssapi.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/ssh-static.dir/gssapi.c.o -MF CMakeFiles/ssh-static.dir/gssapi.c.o.d -o CMakeFiles/ssh-static.dir/gssapi.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c: In function ‘ssh_packet_userauth_gssapi_token_server’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:69:9: warning: leak of ‘ssh_gssapi_name_to_char(client_name)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:192, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/session.h:25, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/gssapi.h:26, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:32: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:334:21: note: (1) entry to ‘ssh_packet_userauth_gssapi_token_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:561:13: note: in definition of macro ‘SSH_PACKET_CALLBACK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:348:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:352:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:354:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:359:37: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:467:4: note: in definition of macro ‘ssh_callbacks_exists’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:396:8: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:397:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:398:41: note: (8) calling ‘ssh_gssapi_name_to_char’ from ‘ssh_packet_userauth_gssapi_token_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:312:1: note: (9) entry to ‘ssh_gssapi_name_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:322:11: note: (10) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:323:8: note: (11) assuming ‘ptr’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:323:8: note: (12) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:327:23: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:398:41: note: (14) returning to ‘ssh_packet_userauth_gssapi_token_server’ from ‘ssh_gssapi_name_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:69:9: note: (15) ‘ssh_gssapi_name_to_char(client_name)’ leaks here; was allocated at (10) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c: In function ‘ssh_packet_userauth_gssapi_response’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: warning: leak of ‘ssh_gssapi_oid_from_string(ssh_buffer_get_ssh_string(packet))’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:860:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:838:21: note: (1) entry to ‘ssh_packet_userauth_gssapi_response’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/callbacks.h:561:13: note: in definition of macro ‘SSH_PACKET_CALLBACK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:849:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:854:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:855:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:12: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:35: note: (6) calling ‘ssh_gssapi_oid_from_string’ from ‘ssh_packet_userauth_gssapi_response’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:802:16: note: (7) entry to ‘ssh_gssapi_oid_from_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:808:8: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:812:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:812:8: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:817:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:817:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:822:11: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:822:11: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:823:8: note: (15) assuming ‘ret’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:823:8: note: (16) following ‘false’ branch (when ‘ret’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:827:21: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:828:8: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:832:27: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:859:35: note: (20) returning to ‘ssh_packet_userauth_gssapi_response’ from ‘ssh_gssapi_oid_from_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:843:29: note: (21) ‘ssh_gssapi_oid_from_string(ssh_buffer_get_ssh_string(packet))’ leaks here; was allocated at (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/gssapi.c:860:5: note: in expansion of macro ‘SSH_STRING_FREE’ <--[csmock-gcc-wrapper] [ 32%] Linking C static library libssh.a cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/bin/cmake -P CMakeFiles/ssh-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-static.dir/link.txt --verbose=1 /usr/bin/ar qc libssh.a "CMakeFiles/ssh-static.dir/agent.c.o" "CMakeFiles/ssh-static.dir/auth.c.o" "CMakeFiles/ssh-static.dir/base64.c.o" "CMakeFiles/ssh-static.dir/bignum.c.o" "CMakeFiles/ssh-static.dir/buffer.c.o" "CMakeFiles/ssh-static.dir/callbacks.c.o" "CMakeFiles/ssh-static.dir/channels.c.o" "CMakeFiles/ssh-static.dir/client.c.o" "CMakeFiles/ssh-static.dir/config.c.o" "CMakeFiles/ssh-static.dir/connect.c.o" "CMakeFiles/ssh-static.dir/connector.c.o" "CMakeFiles/ssh-static.dir/crypto_common.c.o" "CMakeFiles/ssh-static.dir/curve25519.c.o" "CMakeFiles/ssh-static.dir/dh.c.o" "CMakeFiles/ssh-static.dir/ecdh.c.o" "CMakeFiles/ssh-static.dir/error.c.o" "CMakeFiles/ssh-static.dir/getpass.c.o" "CMakeFiles/ssh-static.dir/init.c.o" "CMakeFiles/ssh-static.dir/kdf.c.o" "CMakeFiles/ssh-static.dir/kex.c.o" "CMakeFiles/ssh-static.dir/known_hosts.c.o" "CMakeFiles/ssh-static.dir/knownhosts.c.o" "CMakeFiles/ssh-static.dir/legacy.c.o" "CMakeFiles/ssh-static.dir/log.c.o" "CMakeFiles/ssh-static.dir/match.c.o" "CMakeFiles/ssh-static.dir/messages.c.o" "CMakeFiles/ssh-static.dir/misc.c.o" "CMakeFiles/ssh-static.dir/options.c.o" "CMakeFiles/ssh-static.dir/packet.c.o" "CMakeFiles/ssh-static.dir/packet_cb.c.o" "CMakeFiles/ssh-static.dir/packet_crypt.c.o" "CMakeFiles/ssh-static.dir/pcap.c.o" "CMakeFiles/ssh-static.dir/pki.c.o" "CMakeFiles/ssh-static.dir/pki_container_openssh.c.o" "CMakeFiles/ssh-static.dir/poll.c.o" "CMakeFiles/ssh-static.dir/session.c.o" "CMakeFiles/ssh-static.dir/scp.c.o" "CMakeFiles/ssh-static.dir/socket.c.o" "CMakeFiles/ssh-static.dir/string.c.o" "CMakeFiles/ssh-static.dir/threads.c.o" "CMakeFiles/ssh-static.dir/ttyopts.c.o" "CMakeFiles/ssh-static.dir/wrapper.c.o" "CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o" "CMakeFiles/ssh-static.dir/external/blowfish.c.o" "CMakeFiles/ssh-static.dir/config_parser.c.o" "CMakeFiles/ssh-static.dir/token.c.o" "CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o" "CMakeFiles/ssh-static.dir/threads/noop.c.o" "CMakeFiles/ssh-static.dir/threads/pthread.c.o" "CMakeFiles/ssh-static.dir/threads/libcrypto.c.o" "CMakeFiles/ssh-static.dir/pki_crypto.c.o" "CMakeFiles/ssh-static.dir/ecdh_crypto.c.o" "CMakeFiles/ssh-static.dir/getrandom_crypto.c.o" "CMakeFiles/ssh-static.dir/md_crypto.c.o" "CMakeFiles/ssh-static.dir/libcrypto.c.o" "CMakeFiles/ssh-static.dir/dh_crypto.c.o" "CMakeFiles/ssh-static.dir/sftp.c.o" "CMakeFiles/ssh-static.dir/sftp_common.c.o" "CMakeFiles/ssh-static.dir/sftp_aio.c.o" "CMakeFiles/ssh-static.dir/sftpserver.c.o" "CMakeFiles/ssh-static.dir/server.c.o" "CMakeFiles/ssh-static.dir/bind.c.o" "CMakeFiles/ssh-static.dir/bind_config.c.o" "CMakeFiles/ssh-static.dir/dh-gex.c.o" "CMakeFiles/ssh-static.dir/gzip.c.o" "CMakeFiles/ssh-static.dir/gssapi.c.o" /usr/bin/ranlib libssh.a gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 32%] Built target ssh-static /usr/bin/gmake -f examples/CMakeFiles/libssh_scp.dir/build.make examples/CMakeFiles/libssh_scp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/libssh_scp.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libssh_scp.dir/build.make examples/CMakeFiles/libssh_scp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 32%] Building C object examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o -MF CMakeFiles/libssh_scp.dir/libssh_scp.c.o.d -o CMakeFiles/libssh_scp.dir/libssh_scp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘close_location’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:156:17: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:162:17: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘close_location’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘open_location’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:187:9: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:196:9: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:198:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:213:9: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:222:9: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:224:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘do_copy’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:290:13: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:292:17: warning: ‘ssh_scp_deny_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:589:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:296:17: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:297:17: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:298:17: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:313:9: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:320:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:332:21: warning: ‘ssh_scp_deny_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:589:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:339:13: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:345:13: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:373:13: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:378:17: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:273:14: warning: use of NULL ‘*src.file’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:402:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:406:9: note: (2) calling ‘opts’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:60:12: note: (3) entry to ‘opts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:76:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:81:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:82:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:406:9: note: (8) returning to ‘main’ from ‘opts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:406:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:410:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:412:12: note: (11) calling ‘parse_location’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:117:25: note: (12) entry to ‘parse_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:122:8: note: (13) following ‘false’ branch (when ‘location’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:125:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:128:11: note: (15) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:130:8: note: (16) following ‘false’ branch (when ‘ptr’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:145:26: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:412:12: note: (18) returning to ‘main’ from ‘parse_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:413:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:418:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:418:9: note: (21) calling ‘open_location’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:179:12: note: (22) entry to ‘open_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:180:8: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:206:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:206:15: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:232:19: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:232:15: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (29) following ‘false’ branch (when ‘flag != 0’)... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (31) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:234:12: note: (32) assuming ‘’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:234:12: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:235:17: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:235:16: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:236:30: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:236:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (38) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:418:9: note: (39) returning to ‘main’ from ‘open_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:418:8: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (41) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:424:19: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:425:37: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:425:15: note: (44) calling ‘parse_location’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:117:25: note: (45) entry to ‘parse_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:122:8: note: (46) following ‘false’ branch (when ‘location’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:125:5: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:128:11: note: (48) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:130:8: note: (49) following ‘false’ branch (when ‘ptr’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:145:26: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:425:15: note: (51) returning to ‘main’ from ‘parse_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:426:12: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:431:13: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:431:13: note: (54) calling ‘open_location’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:179:12: note: (55) entry to ‘open_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:180:8: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:206:15: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:206:15: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:232:19: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:232:15: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (62) following ‘true’ branch (when ‘flag == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (63) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:233:21: note: (64) state of ‘CONJURED(_99 = fopen (_34, iftmp.26_47);, _99)’: ‘null’ -> ‘unchecked’ (NULL origin) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:234:12: note: (65) assuming ‘’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:234:12: note: (66) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:235:17: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:235:16: note: (68) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:236:30: note: (69) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:236:20: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (71) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:431:13: note: (72) returning to ‘main’ from ‘open_location’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:431:12: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:437:13: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:437:13: note: (75) calling ‘do_copy’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:259:12: note: (76) entry to ‘do_copy’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:272:8: note: (77) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:273:14: note: (78) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:273:14: note: (79) argument 1 (‘*src.file’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:16: <--[csmock-gcc-wrapper] /usr/include/stdio.h:873:12: note: argument 1 of ‘fileno’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:156:17: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 156 | rc = ssh_scp_close(loc->scp); | ^~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:22: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:162:17: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 162 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘open_location’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:187:9: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 187 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_WRITE, loc->path); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:196:9: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 196 | if (ssh_scp_init(loc->scp) == SSH_ERROR) { | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:198:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 198 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:213:9: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 213 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_READ, loc->path); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:222:9: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 222 | if (ssh_scp_init(loc->scp) == SSH_ERROR) { | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:224:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 224 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c: In function ‘do_copy’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:290:13: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 290 | r = ssh_scp_pull_request(src->scp); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:292:17: warning: ‘ssh_scp_deny_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 292 | ssh_scp_deny_request(src->scp, "Not in recursive mode"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:589:31: note: declared here <--[gcc] 589 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const char *reason); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:296:17: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[gcc] 296 | size = ssh_scp_request_get_size(src->scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[gcc] 601 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:297:17: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 297 | filename = strdup(ssh_scp_request_get_filename(src->scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:298:17: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 298 | mode = ssh_scp_request_get_permissions(src->scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:313:9: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 313 | r = ssh_scp_push_file(dest->scp, src->path, size, mode); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[gcc] 596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:320:13: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 320 | ssh_scp_free(dest->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:332:21: warning: ‘ssh_scp_deny_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 332 | ssh_scp_deny_request(src->scp, "Cannot open local file"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:589:31: note: declared here <--[gcc] 589 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const char *reason); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:339:13: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 339 | ssh_scp_accept_request(src->scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:345:13: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[gcc] 345 | r = ssh_scp_read(src->scp, buffer, sizeof(buffer)); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[gcc] 598 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:373:13: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[gcc] 373 | w = ssh_scp_write(dest->scp, buffer, r); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[gcc] 604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libssh_scp.c:378:17: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 378 | ssh_scp_free(dest->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ [ 32%] Building C object examples/CMakeFiles/libssh_scp.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/authentication.c.o -MF CMakeFiles/libssh_scp.dir/authentication.c.o.d -o CMakeFiles/libssh_scp.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 32%] Building C object examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o -MF CMakeFiles/libssh_scp.dir/knownhosts.c.o.d -o CMakeFiles/libssh_scp.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 33%] Building C object examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o -MF CMakeFiles/libssh_scp.dir/connect_ssh.c.o.d -o CMakeFiles/libssh_scp.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 33%] Linking C executable libssh_scp cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libssh_scp.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/libssh_scp.dir/libssh_scp.c.o CMakeFiles/libssh_scp.dir/authentication.c.o CMakeFiles/libssh_scp.dir/knownhosts.c.o CMakeFiles/libssh_scp.dir/connect_ssh.c.o -o libssh_scp -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 33%] Built target libssh_scp /usr/bin/gmake -f examples/CMakeFiles/scp_download.dir/build.make examples/CMakeFiles/scp_download.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/scp_download.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/scp_download.dir/build.make examples/CMakeFiles/scp_download.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 33%] Building C object examples/CMakeFiles/scp_download.dir/scp_download.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/scp_download.c.o -MF CMakeFiles/scp_download.dir/scp_download.c.o.d -o CMakeFiles/scp_download.dir/scp_download.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c: In function ‘fetch_files’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c: In function ‘fetch_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:113:3: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 113 | ssh_scp scp=ssh_scp_new(session, SSH_SCP_READ | SSH_SCP_RECURSIVE, "/tmp/libssh_tests/*"); | ^~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:22: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:114:3: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 114 | if(ssh_scp_init(scp) != SSH_OK){ | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:116:11: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 116 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:122:11: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 122 | r=ssh_scp_pull_request(scp); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:125:19: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[gcc] 125 | size=ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[gcc] 601 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:126:19: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 126 | filename=strdup(ssh_scp_request_get_filename(scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:127:19: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 127 | mode=ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:130:19: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 130 | ssh_scp_accept_request(scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:131:19: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[gcc] 131 | r=ssh_scp_read(scp,buffer,sizeof(buffer)); | ^ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[gcc] 598 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:134:27: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 134 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:135:27: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 135 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:142:19: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 142 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:143:19: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 143 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:146:19: warning: ‘ssh_scp_request_get_warning’ is deprecated [-Wdeprecated-declarations] <--[gcc] 146 | fprintf(stderr,"Warning: %s\n",ssh_scp_request_get_warning(scp)); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:603:39: note: declared here <--[gcc] 603 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_warning(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:149:19: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 149 | filename=strdup(ssh_scp_request_get_filename(scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:150:19: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 150 | mode=ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:153:19: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 153 | ssh_scp_accept_request(scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:164:3: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 164 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:165:3: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 165 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:113:3: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:114:3: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:116:11: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:122:11: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:125:19: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:126:19: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:127:19: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:130:19: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:131:19: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:134:27: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:135:27: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:142:19: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:143:19: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:146:19: warning: ‘ssh_scp_request_get_warning’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:603:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:149:19: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:150:19: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:153:19: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:164:3: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/scp_download.c:165:3: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] [ 33%] Building C object examples/CMakeFiles/scp_download.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/authentication.c.o -MF CMakeFiles/scp_download.dir/authentication.c.o.d -o CMakeFiles/scp_download.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 33%] Building C object examples/CMakeFiles/scp_download.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/knownhosts.c.o -MF CMakeFiles/scp_download.dir/knownhosts.c.o.d -o CMakeFiles/scp_download.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 34%] Building C object examples/CMakeFiles/scp_download.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/connect_ssh.c.o -MF CMakeFiles/scp_download.dir/connect_ssh.c.o.d -o CMakeFiles/scp_download.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 34%] Linking C executable scp_download cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp_download.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/scp_download.dir/scp_download.c.o CMakeFiles/scp_download.dir/authentication.c.o CMakeFiles/scp_download.dir/knownhosts.c.o CMakeFiles/scp_download.dir/connect_ssh.c.o -o scp_download -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 34%] Built target scp_download /usr/bin/gmake -f examples/CMakeFiles/sshnetcat.dir/build.make examples/CMakeFiles/sshnetcat.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/sshnetcat.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/sshnetcat.dir/build.make examples/CMakeFiles/sshnetcat.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 34%] Building C object examples/CMakeFiles/sshnetcat.dir/sshnetcat.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/sshnetcat.c.o -MF CMakeFiles/sshnetcat.dir/sshnetcat.c.o.d -o CMakeFiles/sshnetcat.dir/sshnetcat.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshnetcat.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshnetcat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 34%] Building C object examples/CMakeFiles/sshnetcat.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/authentication.c.o -MF CMakeFiles/sshnetcat.dir/authentication.c.o.d -o CMakeFiles/sshnetcat.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 35%] Building C object examples/CMakeFiles/sshnetcat.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/knownhosts.c.o -MF CMakeFiles/sshnetcat.dir/knownhosts.c.o.d -o CMakeFiles/sshnetcat.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 35%] Building C object examples/CMakeFiles/sshnetcat.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/connect_ssh.c.o -MF CMakeFiles/sshnetcat.dir/connect_ssh.c.o.d -o CMakeFiles/sshnetcat.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 35%] Linking C executable sshnetcat cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/sshnetcat.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/sshnetcat.dir/sshnetcat.c.o CMakeFiles/sshnetcat.dir/authentication.c.o CMakeFiles/sshnetcat.dir/knownhosts.c.o CMakeFiles/sshnetcat.dir/connect_ssh.c.o -o sshnetcat -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 35%] Built target sshnetcat /usr/bin/gmake -f examples/CMakeFiles/samplesftp.dir/build.make examples/CMakeFiles/samplesftp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/samplesftp.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesftp.dir/build.make examples/CMakeFiles/samplesftp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 35%] Building C object examples/CMakeFiles/samplesftp.dir/samplesftp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/samplesftp.c.o -MF CMakeFiles/samplesftp.dir/samplesftp.c.o.d -o CMakeFiles/samplesftp.dir/samplesftp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesftp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 35%] Building C object examples/CMakeFiles/samplesftp.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/authentication.c.o -MF CMakeFiles/samplesftp.dir/authentication.c.o.d -o CMakeFiles/samplesftp.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 35%] Building C object examples/CMakeFiles/samplesftp.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/knownhosts.c.o -MF CMakeFiles/samplesftp.dir/knownhosts.c.o.d -o CMakeFiles/samplesftp.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 35%] Building C object examples/CMakeFiles/samplesftp.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/connect_ssh.c.o -MF CMakeFiles/samplesftp.dir/connect_ssh.c.o.d -o CMakeFiles/samplesftp.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 36%] Linking C executable samplesftp cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesftp.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/samplesftp.dir/samplesftp.c.o CMakeFiles/samplesftp.dir/authentication.c.o CMakeFiles/samplesftp.dir/knownhosts.c.o CMakeFiles/samplesftp.dir/connect_ssh.c.o -o samplesftp -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 36%] Built target samplesftp /usr/bin/gmake -f examples/CMakeFiles/sample_sftpserver.dir/build.make examples/CMakeFiles/sample_sftpserver.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/sample_sftpserver.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/sample_sftpserver.dir/build.make examples/CMakeFiles/sample_sftpserver.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 37%] Building C object examples/CMakeFiles/sample_sftpserver.dir/sample_sftpserver.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sample_sftpserver.dir/sample_sftpserver.c.o -MF CMakeFiles/sample_sftpserver.dir/sample_sftpserver.c.o.d -o CMakeFiles/sample_sftpserver.dir/sample_sftpserver.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sample_sftpserver.c [ 37%] Building C object examples/CMakeFiles/sample_sftpserver.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sample_sftpserver.dir/authentication.c.o -MF CMakeFiles/sample_sftpserver.dir/authentication.c.o.d -o CMakeFiles/sample_sftpserver.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 37%] Building C object examples/CMakeFiles/sample_sftpserver.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sample_sftpserver.dir/knownhosts.c.o -MF CMakeFiles/sample_sftpserver.dir/knownhosts.c.o.d -o CMakeFiles/sample_sftpserver.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 37%] Building C object examples/CMakeFiles/sample_sftpserver.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sample_sftpserver.dir/connect_ssh.c.o -MF CMakeFiles/sample_sftpserver.dir/connect_ssh.c.o.d -o CMakeFiles/sample_sftpserver.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 38%] Linking C executable sample_sftpserver cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/sample_sftpserver.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/sample_sftpserver.dir/sample_sftpserver.c.o CMakeFiles/sample_sftpserver.dir/authentication.c.o CMakeFiles/sample_sftpserver.dir/knownhosts.c.o CMakeFiles/sample_sftpserver.dir/connect_ssh.c.o -o sample_sftpserver -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 38%] Built target sample_sftpserver /usr/bin/gmake -f examples/CMakeFiles/ssh-client.dir/build.make examples/CMakeFiles/ssh-client.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/ssh-client.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh-client.dir/build.make examples/CMakeFiles/ssh-client.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 39%] Building C object examples/CMakeFiles/ssh-client.dir/ssh_client.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/ssh_client.c.o -MF CMakeFiles/ssh-client.dir/ssh_client.c.o.d -o CMakeFiles/ssh-client.dir/ssh_client.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c: In function ‘do_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:174:5: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:424:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:434:8: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:442:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:442:5: note: (4) registering ‘do_exit’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:168:13: note: (6) entry to ‘do_exit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:174:5: note: (7) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_client.c:174:5: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] [ 39%] Building C object examples/CMakeFiles/ssh-client.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/authentication.c.o -MF CMakeFiles/ssh-client.dir/authentication.c.o.d -o CMakeFiles/ssh-client.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 39%] Building C object examples/CMakeFiles/ssh-client.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/knownhosts.c.o -MF CMakeFiles/ssh-client.dir/knownhosts.c.o.d -o CMakeFiles/ssh-client.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 39%] Building C object examples/CMakeFiles/ssh-client.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/connect_ssh.c.o -MF CMakeFiles/ssh-client.dir/connect_ssh.c.o.d -o CMakeFiles/ssh-client.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 40%] Linking C executable ssh-client cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-client.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/ssh-client.dir/ssh_client.c.o" "CMakeFiles/ssh-client.dir/authentication.c.o" "CMakeFiles/ssh-client.dir/knownhosts.c.o" "CMakeFiles/ssh-client.dir/connect_ssh.c.o" -o ssh-client -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 40%] Built target ssh-client /usr/bin/gmake -f examples/CMakeFiles/ssh-X11-client.dir/build.make examples/CMakeFiles/ssh-X11-client.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/ssh-X11-client.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh-X11-client.dir/build.make examples/CMakeFiles/ssh-X11-client.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 41%] Building C object examples/CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o -MF CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o.d -o CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c: In function ‘copy_fd_to_channel_callback’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:601:22: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:599:8: note: (1) following ‘true’ branch (when ‘userdata’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:600:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:601:22: note: (3) dereference of NULL ‘search_item(userdata)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:626:26: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:599:8: note: (1) following ‘false’ branch (when ‘userdata’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:607:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:607:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:613:8: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:613:8: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:614:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:616:12: note: (7) following ‘false’ branch (when ‘sz <= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:619:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:619:19: note: (9) following ‘false’ branch (when ‘sz == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:624:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:626:26: note: (11) dereference of NULL ‘search_item(userdata)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c: In function ‘copy_channel_to_fd_callback’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:655:8: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_X11_client.c:655:8: note: (1) dereference of NULL ‘search_item(channel)’ <--[csmock-gcc-wrapper] [ 41%] Building C object examples/CMakeFiles/ssh-X11-client.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/authentication.c.o -MF CMakeFiles/ssh-X11-client.dir/authentication.c.o.d -o CMakeFiles/ssh-X11-client.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 41%] Building C object examples/CMakeFiles/ssh-X11-client.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/knownhosts.c.o -MF CMakeFiles/ssh-X11-client.dir/knownhosts.c.o.d -o CMakeFiles/ssh-X11-client.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 41%] Building C object examples/CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o -MF CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o.d -o CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 41%] Linking C executable ssh-X11-client cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-X11-client.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o" "CMakeFiles/ssh-X11-client.dir/authentication.c.o" "CMakeFiles/ssh-X11-client.dir/knownhosts.c.o" "CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o" -o ssh-X11-client -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 41%] Built target ssh-X11-client /usr/bin/gmake -f examples/CMakeFiles/ssh_server_fork.dir/build.make examples/CMakeFiles/ssh_server_fork.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/ssh_server_fork.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh_server_fork.dir/build.make examples/CMakeFiles/ssh_server_fork.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Building C object examples/CMakeFiles/ssh_server_fork.dir/ssh_server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -DWITH_FORK -MD -MT examples/CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -MF CMakeFiles/ssh_server_fork.dir/ssh_server.c.o.d -o CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_server.c [ 42%] Linking C executable ssh_server_fork cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_server_fork.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -o ssh_server_fork -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 -lutil gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Built target ssh_server_fork /usr/bin/gmake -f examples/CMakeFiles/ssh_server_pthread.dir/build.make examples/CMakeFiles/ssh_server_pthread.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/ssh_server_pthread.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh_server_pthread.dir/build.make examples/CMakeFiles/ssh_server_pthread.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Building C object examples/CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -MF CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o.d -o CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/ssh_server.c [ 42%] Linking C executable ssh_server_pthread cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_server_pthread.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -o ssh_server_pthread -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 -lpthread -lutil gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Built target ssh_server_pthread /usr/bin/gmake -f examples/CMakeFiles/proxy.dir/build.make examples/CMakeFiles/proxy.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/proxy.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/proxy.dir/build.make examples/CMakeFiles/proxy.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Building C object examples/CMakeFiles/proxy.dir/proxy.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/proxy.dir/proxy.c.o -MF CMakeFiles/proxy.dir/proxy.c.o.d -o CMakeFiles/proxy.dir/proxy.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/proxy.c [ 42%] Linking C executable proxy cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/proxy.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/proxy.dir/proxy.c.o -o proxy -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 42%] Built target proxy /usr/bin/gmake -f examples/CMakeFiles/sshd_direct-tcpip.dir/build.make examples/CMakeFiles/sshd_direct-tcpip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/sshd_direct-tcpip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/sshd_direct-tcpip.dir/build.make examples/CMakeFiles/sshd_direct-tcpip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 43%] Building C object examples/CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o -MF CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o.d -o CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c: In function ‘do_cleanup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:30: warning: check of ‘*current.data’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:139:17: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:120:20: note: (1) following ‘true’ branch (when ‘current’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:121:42: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:121:13: note: (3) pointer ‘*current.data’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:121:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:122:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:125:16: note: (6) following ‘false’ branch (when ‘previous’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:129:21: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:131:16: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:132:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:30: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:137:17: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:45: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:137:17: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:30: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:138:17: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:139:31: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:45:30: note: (14) pointer ‘*current.data’ is checked for NULL here but it was already dereferenced at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/sshd_direct-tcpip.c:139:17: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] [ 43%] Linking C executable sshd_direct-tcpip cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/sshd_direct-tcpip.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o" -o sshd_direct-tcpip -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 43%] Built target sshd_direct-tcpip /usr/bin/gmake -f examples/CMakeFiles/samplesshd-kbdint.dir/build.make examples/CMakeFiles/samplesshd-kbdint.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/samplesshd-kbdint.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesshd-kbdint.dir/build.make examples/CMakeFiles/samplesshd-kbdint.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 43%] Building C object examples/CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o -MF CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o.d -o CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c: In function ‘authenticate’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:227:32: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] <--[gcc] 227 | ssh_message_auth_password(message)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:18: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/server.h:306:39: note: declared here <--[gcc] 306 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:229:28: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] <--[gcc] 229 | ssh_message_auth_password(message))){ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/server.h:306:39: note: declared here <--[gcc] 306 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c: In function ‘authenticate’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:227:32: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:18: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/server.h:306:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-kbdint.c:229:28: warning: ‘ssh_message_auth_password’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/server.h:306:39: note: declared here <--[csmock-gcc-wrapper] [ 44%] Linking C executable samplesshd-kbdint cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesshd-kbdint.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o" -o samplesshd-kbdint -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 44%] Built target samplesshd-kbdint /usr/bin/gmake -f examples/CMakeFiles/keygen2.dir/build.make examples/CMakeFiles/keygen2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/keygen2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/keygen2.dir/build.make examples/CMakeFiles/keygen2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 44%] Building C object examples/CMakeFiles/keygen2.dir/keygen2.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/keygen2.c.o -MF CMakeFiles/keygen2.dir/keygen2.c.o.d -o CMakeFiles/keygen2.dir/keygen2.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/keygen2.c [ 44%] Building C object examples/CMakeFiles/keygen2.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/authentication.c.o -MF CMakeFiles/keygen2.dir/authentication.c.o.d -o CMakeFiles/keygen2.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 44%] Building C object examples/CMakeFiles/keygen2.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/knownhosts.c.o -MF CMakeFiles/keygen2.dir/knownhosts.c.o.d -o CMakeFiles/keygen2.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 44%] Building C object examples/CMakeFiles/keygen2.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/connect_ssh.c.o -MF CMakeFiles/keygen2.dir/connect_ssh.c.o.d -o CMakeFiles/keygen2.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 45%] Linking C executable keygen2 cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/keygen2.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/keygen2.dir/keygen2.c.o CMakeFiles/keygen2.dir/authentication.c.o CMakeFiles/keygen2.dir/knownhosts.c.o CMakeFiles/keygen2.dir/connect_ssh.c.o -o keygen2 -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 45%] Built target keygen2 /usr/bin/gmake -f examples/CMakeFiles/samplesshd-cb.dir/build.make examples/CMakeFiles/samplesshd-cb.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/samplesshd-cb.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesshd-cb.dir/build.make examples/CMakeFiles/samplesshd-cb.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 45%] Building C object examples/CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o -MF CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o.d -o CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/samplesshd-cb.c [ 45%] Linking C executable samplesshd-cb cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesshd-cb.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o" -o samplesshd-cb -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 45%] Built target samplesshd-cb /usr/bin/gmake -f examples/CMakeFiles/exec.dir/build.make examples/CMakeFiles/exec.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/exec.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/exec.dir/build.make examples/CMakeFiles/exec.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 46%] Building C object examples/CMakeFiles/exec.dir/exec.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/exec.c.o -MF CMakeFiles/exec.dir/exec.c.o.d -o CMakeFiles/exec.dir/exec.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/exec.c [ 46%] Building C object examples/CMakeFiles/exec.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/authentication.c.o -MF CMakeFiles/exec.dir/authentication.c.o.d -o CMakeFiles/exec.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 46%] Building C object examples/CMakeFiles/exec.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/knownhosts.c.o -MF CMakeFiles/exec.dir/knownhosts.c.o.d -o CMakeFiles/exec.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 46%] Building C object examples/CMakeFiles/exec.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/connect_ssh.c.o -MF CMakeFiles/exec.dir/connect_ssh.c.o.d -o CMakeFiles/exec.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 47%] Linking C executable exec cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/exec.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/exec.dir/exec.c.o CMakeFiles/exec.dir/authentication.c.o CMakeFiles/exec.dir/knownhosts.c.o CMakeFiles/exec.dir/connect_ssh.c.o -o exec -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 47%] Built target exec /usr/bin/gmake -f examples/CMakeFiles/senddata.dir/build.make examples/CMakeFiles/senddata.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/senddata.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/senddata.dir/build.make examples/CMakeFiles/senddata.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 47%] Building C object examples/CMakeFiles/senddata.dir/senddata.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/senddata.c.o -MF CMakeFiles/senddata.dir/senddata.c.o.d -o CMakeFiles/senddata.dir/senddata.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/senddata.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/senddata.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/senddata.c:41: error: uninitvar(CWE-457): Uninitialized variable: buffer <--[cppcheck] [ 47%] Building C object examples/CMakeFiles/senddata.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/authentication.c.o -MF CMakeFiles/senddata.dir/authentication.c.o.d -o CMakeFiles/senddata.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/authentication.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 48%] Building C object examples/CMakeFiles/senddata.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/knownhosts.c.o -MF CMakeFiles/senddata.dir/knownhosts.c.o.d -o CMakeFiles/senddata.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/knownhosts.c [ 48%] Building C object examples/CMakeFiles/senddata.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/connect_ssh.c.o -MF CMakeFiles/senddata.dir/connect_ssh.c.o.d -o CMakeFiles/senddata.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/connect_ssh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 48%] Linking C executable senddata cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/senddata.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/senddata.dir/senddata.c.o CMakeFiles/senddata.dir/authentication.c.o CMakeFiles/senddata.dir/knownhosts.c.o CMakeFiles/senddata.dir/connect_ssh.c.o -o senddata -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 48%] Built target senddata /usr/bin/gmake -f examples/CMakeFiles/keygen.dir/build.make examples/CMakeFiles/keygen.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/keygen.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/keygen.dir/build.make examples/CMakeFiles/keygen.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 48%] Building C object examples/CMakeFiles/keygen.dir/keygen.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen.dir/keygen.c.o -MF CMakeFiles/keygen.dir/keygen.c.o.d -o CMakeFiles/keygen.dir/keygen.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/keygen.c [ 49%] Linking C executable keygen cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/keygen.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/keygen.dir/keygen.c.o -o keygen -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 49%] Built target keygen /usr/bin/gmake -f examples/CMakeFiles/libsshpp.dir/build.make examples/CMakeFiles/libsshpp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/libsshpp.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libsshpp.dir/build.make examples/CMakeFiles/libsshpp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 49%] Building CXX object examples/CMakeFiles/libsshpp.dir/libsshpp.cpp.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/g++ -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -MD -MT examples/CMakeFiles/libsshpp.dir/libsshpp.cpp.o -MF CMakeFiles/libsshpp.dir/libsshpp.cpp.o.d -o CMakeFiles/libsshpp.dir/libsshpp.cpp.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libsshpp.cpp [ 49%] Linking CXX executable libsshpp cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libsshpp.dir/link.txt --verbose=1 /usr/lib64/cscppc/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/libsshpp.dir/libsshpp.cpp.o -o libsshpp -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 49%] Built target libsshpp /usr/bin/gmake -f examples/CMakeFiles/libsshpp_noexcept.dir/build.make examples/CMakeFiles/libsshpp_noexcept.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples/CMakeFiles/libsshpp_noexcept.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libsshpp_noexcept.dir/build.make examples/CMakeFiles/libsshpp_noexcept.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 50%] Building CXX object examples/CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/lib64/cscppc/g++ -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -MD -MT examples/CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -MF CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o.d -o CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/examples/libsshpp_noexcept.cpp [ 50%] Linking CXX executable libsshpp_noexcept cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libsshpp_noexcept.dir/link.txt --verbose=1 /usr/lib64/cscppc/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -o libsshpp_noexcept -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../lib/libssh.so.4.10.1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 50%] Built target libsshpp_noexcept /usr/bin/gmake -f tests/CMakeFiles/torture.dir/build.make tests/CMakeFiles/torture.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/CMakeFiles/torture.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/torture.dir/build.make tests/CMakeFiles/torture.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 51%] Building C object tests/CMakeFiles/torture.dir/cmdline.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/cmdline.c.o -MF CMakeFiles/torture.dir/cmdline.c.o.d -o CMakeFiles/torture.dir/cmdline.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/cmdline.c [ 51%] Building C object tests/CMakeFiles/torture.dir/torture.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture.c.o -MF CMakeFiles/torture.dir/torture.c.o.d -o CMakeFiles/torture.dir/torture.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 51%] Building C object tests/CMakeFiles/torture.dir/torture_key.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_key.c.o -MF CMakeFiles/torture.dir/torture_key.c.o.d -o CMakeFiles/torture.dir/torture_key.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_key.c [ 51%] Building C object tests/CMakeFiles/torture.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_pki.c.o -MF CMakeFiles/torture.dir/torture_pki.c.o.d -o CMakeFiles/torture.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_pki.c [ 52%] Building C object tests/CMakeFiles/torture.dir/torture_cmocka.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_cmocka.c.o -MF CMakeFiles/torture.dir/torture_cmocka.c.o.d -o CMakeFiles/torture.dir/torture_cmocka.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_cmocka.c [ 52%] Linking C static library libtorture.a cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/bin/cmake -P CMakeFiles/torture.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture.dir/link.txt --verbose=1 /usr/bin/ar qc libtorture.a CMakeFiles/torture.dir/cmdline.c.o CMakeFiles/torture.dir/torture.c.o CMakeFiles/torture.dir/torture_key.c.o CMakeFiles/torture.dir/torture_pki.c.o CMakeFiles/torture.dir/torture_cmocka.c.o /usr/bin/ranlib libtorture.a gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 52%] Built target torture /usr/bin/gmake -f tests/CMakeFiles/torture_shared.dir/build.make tests/CMakeFiles/torture_shared.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/CMakeFiles/torture_shared.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/torture_shared.dir/build.make tests/CMakeFiles/torture_shared.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 52%] Building C object tests/CMakeFiles/torture_shared.dir/cmdline.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/cmdline.c.o -MF CMakeFiles/torture_shared.dir/cmdline.c.o.d -o CMakeFiles/torture_shared.dir/cmdline.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/cmdline.c [ 53%] Building C object tests/CMakeFiles/torture_shared.dir/torture.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture.c.o -MF CMakeFiles/torture_shared.dir/torture.c.o.d -o CMakeFiles/torture_shared.dir/torture.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 53%] Building C object tests/CMakeFiles/torture_shared.dir/torture_key.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_key.c.o -MF CMakeFiles/torture_shared.dir/torture_key.c.o.d -o CMakeFiles/torture_shared.dir/torture_key.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_key.c [ 53%] Building C object tests/CMakeFiles/torture_shared.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_pki.c.o -MF CMakeFiles/torture_shared.dir/torture_pki.c.o.d -o CMakeFiles/torture_shared.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_pki.c [ 53%] Building C object tests/CMakeFiles/torture_shared.dir/torture_cmocka.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_cmocka.c.o -MF CMakeFiles/torture_shared.dir/torture_cmocka.c.o.d -o CMakeFiles/torture_shared.dir/torture_cmocka.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture_cmocka.c [ 54%] Linking C shared library ../lib/libtorture_shared.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_shared.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libtorture_shared.so -o ../lib/libtorture_shared.so CMakeFiles/torture_shared.dir/cmdline.c.o CMakeFiles/torture_shared.dir/torture.c.o CMakeFiles/torture_shared.dir/torture_key.c.o CMakeFiles/torture_shared.dir/torture_pki.c.o CMakeFiles/torture_shared.dir/torture_cmocka.c.o /usr/lib64/libcmocka.so ../src/libssh.a -Wl,--wrap=chacha_keysetup -Wl,--wrap=chacha_ivsetup -Wl,--wrap=chacha_encrypt_bytes -Wl,--wrap=poly1305_auth -Wl,--wrap=crypto_sign_ed25519_keypair -Wl,--wrap=crypto_sign_ed25519 -Wl,--wrap=crypto_sign_ed25519_open -Wl,--wrap=crypto_scalarmult_base -Wl,--wrap=crypto_scalarmult -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Built target torture_shared /usr/bin/gmake -f tests/CMakeFiles/fs_wrapper.dir/build.make tests/CMakeFiles/fs_wrapper.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/CMakeFiles/fs_wrapper.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/fs_wrapper.dir/build.make tests/CMakeFiles/fs_wrapper.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Building C object tests/CMakeFiles/fs_wrapper.dir/fs_wrapper.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dfs_wrapper_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/CMakeFiles/fs_wrapper.dir/fs_wrapper.c.o -MF CMakeFiles/fs_wrapper.dir/fs_wrapper.c.o.d -o CMakeFiles/fs_wrapper.dir/fs_wrapper.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/fs_wrapper.c [ 54%] Linking C shared library ../lib/libfs_wrapper.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/fs_wrapper.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libfs_wrapper.so -o ../lib/libfs_wrapper.so CMakeFiles/fs_wrapper.dir/fs_wrapper.c.o gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Built target fs_wrapper /usr/bin/gmake -f tests/CMakeFiles/ssh_ping.dir/build.make tests/CMakeFiles/ssh_ping.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/CMakeFiles/ssh_ping.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/ssh_ping.dir/build.make tests/CMakeFiles/ssh_ping.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Building C object tests/CMakeFiles/ssh_ping.dir/ssh_ping.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/CMakeFiles/ssh_ping.dir/ssh_ping.c.o -MF CMakeFiles/ssh_ping.dir/ssh_ping.c.o.d -o CMakeFiles/ssh_ping.dir/ssh_ping.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/ssh_ping.c [ 54%] Linking C executable ssh_ping cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_ping.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/ssh_ping.dir/ssh_ping.c.o -o ssh_ping ../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Built target ssh_ping /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bignum.dir/build.make tests/unittests/CMakeFiles/torture_bignum.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_bignum.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bignum.dir/build.make tests/unittests/CMakeFiles/torture_bignum.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Building C object tests/unittests/CMakeFiles/torture_bignum.dir/torture_bignum.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_bignum.dir/torture_bignum.c.o -MF CMakeFiles/torture_bignum.dir/torture_bignum.c.o.d -o CMakeFiles/torture_bignum.dir/torture_bignum.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_bignum.c [ 54%] Linking C executable torture_bignum cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_bignum.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_bignum.dir/torture_bignum.c.o -o torture_bignum ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Built target torture_bignum /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_buffer.dir/build.make tests/unittests/CMakeFiles/torture_buffer.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_buffer.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_buffer.dir/build.make tests/unittests/CMakeFiles/torture_buffer.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Building C object tests/unittests/CMakeFiles/torture_buffer.dir/torture_buffer.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_buffer.dir/torture_buffer.c.o -MF CMakeFiles/torture_buffer.dir/torture_buffer.c.o.d -o CMakeFiles/torture_buffer.dir/torture_buffer.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c: In function ‘realloc_buffer’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:106:8: warning: leak of ‘new’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:236:13: note: (1) entry to ‘torture_buffer_pack_badformat’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:37: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) calling ‘_ssh_buffer_pack’ from ‘torture_buffer_pack_badformat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:242:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1055:5: note: (3) entry to ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1063:8: note: (4) following ‘false’ branch (when ‘argc <= 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1067:5: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1068:10: note: (6) calling ‘ssh_buffer_pack_allocate_va’ from ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:817:12: note: (7) entry to ‘ssh_buffer_pack_allocate_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:830:36: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (10) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (12) following ‘case 98:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:837:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:830:36: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:891:8: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:891:8: note: (16) following ‘true’ branch (when ‘count != argc’)... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1068:10: note: (18) returning to ‘_ssh_buffer_pack’ from ‘ssh_buffer_pack_allocate_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1071:8: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (21) returning to ‘torture_buffer_pack_badformat’ from ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:242:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (22) calling ‘_ssh_buffer_pack’ from ‘torture_buffer_pack_badformat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:247:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1055:5: note: (23) entry to ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1063:8: note: (24) following ‘false’ branch (when ‘argc <= 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1067:5: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1068:10: note: (26) calling ‘ssh_buffer_pack_allocate_va’ from ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:817:12: note: (27) entry to ‘ssh_buffer_pack_allocate_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:830:36: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (30) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (32) following ‘case 98:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:837:9: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:830:36: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:832:12: note: (36) following ‘false’ branch (when ‘count <= argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:836:9: note: (38) following ‘case 98:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:837:9: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:830:36: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:891:8: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:891:8: note: (42) following ‘true’ branch (when ‘count != argc’)... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1068:10: note: (44) returning to ‘_ssh_buffer_pack’ from ‘ssh_buffer_pack_allocate_va’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:1071:8: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (46) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (47) returning to ‘torture_buffer_pack_badformat’ from ‘_ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:247:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_buffer.c:252:5: note: (48) calling ‘ssh_buffer_reinit’ from ‘torture_buffer_pack_badformat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:260:5: note: (49) entry to ‘ssh_buffer_reinit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:262:8: note: (50) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:266:5: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:275:8: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:279:14: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:279:14: note: (54) calling ‘realloc_buffer’ from ‘ssh_buffer_reinit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:182:12: note: (55) entry to ‘realloc_buffer’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:190:20: note: (56) following ‘true’ branch (when ‘smallest <= needed’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:191:12: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:191:12: note: (58) following ‘false’ branch (when ‘smallest != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:194:18: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:198:8: note: (60) following ‘false’ branch (when ‘smallest <= 268435456’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:202:15: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:202:8: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:211:15: note: (63) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:211:15: note: (64) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:211:15: note: (65) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:212:12: note: (66) following ‘false’ branch (when ‘new’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:216:18: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:219:5: note: (68) calling ‘buffer_verify’ from ‘realloc_buffer’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:77:13: note: (69) entry to ‘buffer_verify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:81:8: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:85:12: note: (71) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:92:8: note: (72) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:99:12: note: (73) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:99:8: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:106:8: note: (75) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:106:8: note: (76) following ‘false’ branch (when ‘do_abort == 0’)... <--[csmock-gcc-wrapper] cc1: note: (77) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:219:5: note: (78) returning to ‘realloc_buffer’ from ‘buffer_verify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/buffer.c:106:8: note: (79) ‘new’ leaks here; was allocated at (64) <--[csmock-gcc-wrapper] [ 54%] Linking C executable torture_buffer cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_buffer.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_buffer.dir/torture_buffer.c.o -o torture_buffer ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 54%] Built target torture_buffer /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bytearray.dir/build.make tests/unittests/CMakeFiles/torture_bytearray.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_bytearray.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bytearray.dir/build.make tests/unittests/CMakeFiles/torture_bytearray.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Building C object tests/unittests/CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -MF CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o.d -o CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_bytearray.c [ 55%] Linking C executable torture_bytearray cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_bytearray.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -o torture_bytearray ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Built target torture_bytearray /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_callbacks.dir/build.make tests/unittests/CMakeFiles/torture_callbacks.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_callbacks.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_callbacks.dir/build.make tests/unittests/CMakeFiles/torture_callbacks.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Building C object tests/unittests/CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -MF CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o.d -o CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_callbacks.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_callbacks.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 55%] Linking C executable torture_callbacks cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_callbacks.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -o torture_callbacks ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Built target torture_callbacks /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_crypto.dir/build.make tests/unittests/CMakeFiles/torture_crypto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_crypto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_crypto.dir/build.make tests/unittests/CMakeFiles/torture_crypto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Building C object tests/unittests/CMakeFiles/torture_crypto.dir/torture_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_crypto.dir/torture_crypto.c.o -MF CMakeFiles/torture_crypto.dir/torture_crypto.c.o.d -o CMakeFiles/torture_crypto.dir/torture_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_crypto.c [ 55%] Linking C executable torture_crypto cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_crypto.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_crypto.dir/torture_crypto.c.o -o torture_crypto ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Built target torture_crypto /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_init.dir/build.make tests/unittests/CMakeFiles/torture_init.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_init.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_init.dir/build.make tests/unittests/CMakeFiles/torture_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Building C object tests/unittests/CMakeFiles/torture_init.dir/torture_init.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_init.dir/torture_init.c.o -MF CMakeFiles/torture_init.dir/torture_init.c.o.d -o CMakeFiles/torture_init.dir/torture_init.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_init.c [ 55%] Linking C executable torture_init cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_init.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_init.dir/torture_init.c.o -o torture_init ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 55%] Built target torture_init /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_list.dir/build.make tests/unittests/CMakeFiles/torture_list.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_list.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_list.dir/build.make tests/unittests/CMakeFiles/torture_list.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 56%] Building C object tests/unittests/CMakeFiles/torture_list.dir/torture_list.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_list.dir/torture_list.c.o -MF CMakeFiles/torture_list.dir/torture_list.c.o.d -o CMakeFiles/torture_list.dir/torture_list.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_list.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_list.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c: In function ‘ssh_path_expand_tilde.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1129:9: note: (1) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1130:8: note: (2) following ‘true’ branch (when ‘d < p’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1135:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1138:12: note: (4) following ‘false’ branch (when ‘s <= 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1141:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1144:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (8) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 56%] Linking C executable torture_list cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_list.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_list.dir/torture_list.c.o -o torture_list ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 56%] Built target torture_list /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_misc.dir/build.make tests/unittests/CMakeFiles/torture_misc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_misc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_misc.dir/build.make tests/unittests/CMakeFiles/torture_misc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 56%] Building C object tests/unittests/CMakeFiles/torture_misc.dir/torture_misc.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_misc.dir/torture_misc.c.o -MF CMakeFiles/torture_misc.dir/torture_misc.c.o.d -o CMakeFiles/torture_misc.dir/torture_misc.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_misc.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_misc.c:17: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c: In function ‘ssh_path_expand_tilde.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1129:9: note: (1) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1130:8: note: (2) following ‘true’ branch (when ‘d < p’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1135:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1138:12: note: (4) following ‘false’ branch (when ‘s <= 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1141:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1144:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (8) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 56%] Linking C executable torture_misc cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_misc.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_misc.dir/torture_misc.c.o -o torture_misc ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 56%] Built target torture_misc /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config.dir/build.make tests/unittests/CMakeFiles/torture_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_config.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config.dir/build.make tests/unittests/CMakeFiles/torture_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 56%] Building C object tests/unittests/CMakeFiles/torture_config.dir/torture_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_config.dir/torture_config.c.o -MF CMakeFiles/torture_config.dir/torture_config.c.o.d -o CMakeFiles/torture_config.dir/torture_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_config.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 57%] Linking C executable torture_config cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_config.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_config.dir/torture_config.c.o -o torture_config ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 57%] Built target torture_config /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_options.dir/build.make tests/unittests/CMakeFiles/torture_options.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_options.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_options.dir/build.make tests/unittests/CMakeFiles/torture_options.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 57%] Building C object tests/unittests/CMakeFiles/torture_options.dir/torture_options.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_options.dir/torture_options.c.o -MF CMakeFiles/torture_options.dir/torture_options.c.o.d -o CMakeFiles/torture_options.dir/torture_options.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c: In function ‘torture_options_minus_sign’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1664:5: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1662:9: note: (1) when ‘strstr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1664:5: note: (2) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memmove’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1677:5: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1662:9: note: (1) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1675:9: note: (2) when ‘strstr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1677:5: note: (3) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memmove’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c: In function ‘torture_options_caret_sign’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1730:9: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1726:8: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1727:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1727:13: note: (3) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1729:13: note: (4) when ‘strstr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1730:9: note: (5) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memmove’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1752:9: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1748:8: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1749:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1749:13: note: (3) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1751:13: note: (4) when ‘strstr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1752:9: note: (5) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memmove’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c: In function ‘torture_options_apply’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1901:10: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1924:24: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1931:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: note: (4) ‘id’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1889:10: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1924:24: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1931:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: note: (4) ‘id’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1892:10: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1924:24: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1931:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: note: (4) ‘id’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1895:10: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1924:24: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1931:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: note: (4) ‘id’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: warning: leak of ‘id’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1898:10: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1924:24: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1931:5: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_options.c:1935:1: note: (4) ‘id’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] [ 57%] Linking C executable torture_options cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_options.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_options.dir/torture_options.c.o -o torture_options ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 57%] Built target torture_options /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_isipaddr.dir/build.make tests/unittests/CMakeFiles/torture_isipaddr.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_isipaddr.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_isipaddr.dir/build.make tests/unittests/CMakeFiles/torture_isipaddr.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 57%] Building C object tests/unittests/CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -MF CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o.d -o CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_isipaddr.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_isipaddr.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c: In function ‘ssh_path_expand_tilde.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: warning: use of NULL ‘p’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1129:9: note: (1) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1130:8: note: (2) following ‘true’ branch (when ‘d < p’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1135:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1138:12: note: (4) following ‘false’ branch (when ‘s <= 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1141:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1144:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/misc.c:1147:14: note: (8) argument 1 (‘p’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strlen’ must be non-null [ 57%] Linking C executable torture_isipaddr cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_isipaddr.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -o torture_isipaddr ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 57%] Built target torture_isipaddr /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build.make tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build.make tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 58%] Building C object tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -MF CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o.d -o CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_knownhosts_parsing.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_knownhosts_parsing.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 58%] Linking C executable torture_knownhosts_parsing cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts_parsing.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -o torture_knownhosts_parsing ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 58%] Built target torture_knownhosts_parsing /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_hashes.dir/build.make tests/unittests/CMakeFiles/torture_hashes.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_hashes.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_hashes.dir/build.make tests/unittests/CMakeFiles/torture_hashes.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 58%] Building C object tests/unittests/CMakeFiles/torture_hashes.dir/torture_hashes.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_hashes.dir/torture_hashes.c.o -MF CMakeFiles/torture_hashes.dir/torture_hashes.c.o.d -o CMakeFiles/torture_hashes.dir/torture_hashes.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c:7: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 130 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c:5: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[gcc] 101 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 134 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 137 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 144 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[gcc] 95 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[gcc] 198 | return ssh_channel_get_exit_status(channel); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[gcc] 471 | SSH_DEPRECATED LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[gcc] 296 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[gcc] 584 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 726 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[gcc] 493 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_hashes.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[csmock-gcc-wrapper] [ 58%] Linking C executable torture_hashes cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_hashes.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_hashes.dir/torture_hashes.c.o -o torture_hashes ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 58%] Built target torture_hashes /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet_filter.dir/build.make tests/unittests/CMakeFiles/torture_packet_filter.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_packet_filter.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet_filter.dir/build.make tests/unittests/CMakeFiles/torture_packet_filter.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 59%] Building C object tests/unittests/CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -MF CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o.d -o CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_packet_filter.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_packet_filter.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 59%] Linking C executable torture_packet_filter cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_packet_filter.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -o torture_packet_filter ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 59%] Built target torture_packet_filter /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_dir.dir/build.make tests/unittests/CMakeFiles/torture_temp_dir.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_temp_dir.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_dir.dir/build.make tests/unittests/CMakeFiles/torture_temp_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 59%] Building C object tests/unittests/CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -MF CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o.d -o CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_temp_dir.c [ 59%] Linking C executable torture_temp_dir cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_temp_dir.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -o torture_temp_dir ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 59%] Built target torture_temp_dir /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_file.dir/build.make tests/unittests/CMakeFiles/torture_temp_file.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_temp_file.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_file.dir/build.make tests/unittests/CMakeFiles/torture_temp_file.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 59%] Building C object tests/unittests/CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -MF CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o.d -o CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_temp_file.c [ 60%] Linking C executable torture_temp_file cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_temp_file.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -o torture_temp_file ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 60%] Built target torture_temp_file /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build.make tests/unittests/CMakeFiles/torture_push_pop_dir.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_push_pop_dir.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build.make tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 60%] Building C object tests/unittests/CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -MF CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o.d -o CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_push_pop_dir.c [ 61%] Linking C executable torture_push_pop_dir cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_push_pop_dir.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -o torture_push_pop_dir ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 61%] Built target torture_push_pop_dir /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_session_keys.dir/build.make tests/unittests/CMakeFiles/torture_session_keys.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_session_keys.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_session_keys.dir/build.make tests/unittests/CMakeFiles/torture_session_keys.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Building C object tests/unittests/CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -MF CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o.d -o CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_session_keys.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_session_keys.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 62%] Linking C executable torture_session_keys cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_session_keys.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -o torture_session_keys ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Built target torture_session_keys /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_tokens.dir/build.make tests/unittests/CMakeFiles/torture_tokens.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_tokens.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_tokens.dir/build.make tests/unittests/CMakeFiles/torture_tokens.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Building C object tests/unittests/CMakeFiles/torture_tokens.dir/torture_tokens.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_tokens.dir/torture_tokens.c.o -MF CMakeFiles/torture_tokens.dir/torture_tokens.c.o.d -o CMakeFiles/torture_tokens.dir/torture_tokens.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_tokens.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_tokens.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 62%] Linking C executable torture_tokens cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_tokens.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_tokens.dir/torture_tokens.c.o -o torture_tokens ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Built target torture_tokens /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet.dir/build.make tests/unittests/CMakeFiles/torture_packet.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_packet.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet.dir/build.make tests/unittests/CMakeFiles/torture_packet.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Building C object tests/unittests/CMakeFiles/torture_packet.dir/torture_packet.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_packet.dir/torture_packet.c.o -MF CMakeFiles/torture_packet.dir/torture_packet.c.o.d -o CMakeFiles/torture_packet.dir/torture_packet.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_packet.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 62%] Linking C executable torture_packet cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_packet.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_packet.dir/torture_packet.c.o -o torture_packet ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 62%] Built target torture_packet /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_keyfiles.dir/build.make tests/unittests/CMakeFiles/torture_keyfiles.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_keyfiles.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_keyfiles.dir/build.make tests/unittests/CMakeFiles/torture_keyfiles.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -MF CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o.d -o CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:7: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 130 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:5: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[gcc] 101 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 134 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 137 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[gcc] 96 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 144 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[gcc] 95 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[gcc] 198 | return ssh_channel_get_exit_status(channel); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[gcc] 471 | SSH_DEPRECATED LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[gcc] 296 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[gcc] 584 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 726 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[gcc] 493 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_pubkey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:71:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 71 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[gcc] 679 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:80:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 80 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[gcc] 679 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:89:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 89 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[gcc] 679 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_pubkey_generate_from_privkey’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:132:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 132 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey_orig, | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[gcc] 679 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 144 | privkey = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, NULL); | ^~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[gcc] 420 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:147:5: warning: ‘publickey_from_privatekey’ is deprecated [-Wdeprecated-declarations] <--[gcc] 147 | pubkey = publickey_from_privatekey(privkey); | ^~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:379:16: note: declared here <--[gcc] 379 | ssh_public_key publickey_from_privatekey(ssh_private_key prv) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:150:5: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 150 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[gcc] 476 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:152:5: warning: ‘publickey_to_string’ is deprecated [-Wdeprecated-declarations] <--[gcc] 152 | pubkey_new = publickey_to_string(pubkey); | ^~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:565:12: note: declared here <--[gcc] 565 | ssh_string publickey_to_string(ssh_public_key pubkey) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:153:5: warning: ‘publickey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 153 | publickey_free(pubkey); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:357:6: note: declared here <--[gcc] 357 | void publickey_free(ssh_public_key key) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:162:5: warning: ‘ssh_publickey_to_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 162 | rc = ssh_publickey_to_file(session, LIBSSH_RSA_TESTKEY ".pub", pubkey_new, type_new); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:607:5: note: declared here <--[gcc] 607 | int ssh_publickey_to_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_privatekey_from_file’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:192:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 192 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, SSH_KEYTYPE_RSA, NULL); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[gcc] 420 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:195:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 195 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[gcc] 476 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:200:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 200 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, NULL); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[gcc] 420 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:203:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 203 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[gcc] 476 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_privatekey_from_file_passphrase’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:216:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 216 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, SSH_KEYTYPE_RSA, TORTURE_TESTKEY_PASSWORD); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[gcc] 420 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:219:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 219 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[gcc] 476 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:224:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 224 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, TORTURE_TESTKEY_PASSWORD); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[gcc] 420 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:227:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 227 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[gcc] 476 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_userauth_privatekey_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:130:3: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:890, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:101:38: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:134:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:137:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:96:43: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:144:3: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/legacy.h:95:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_get_exit_status’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:198:3: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘channel_select’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:296:3: warning: ‘ssh_channel_select’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:584:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘ssh_try_publickey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:726:5: warning: ‘publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:493:12: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_pubkey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:71:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:80:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:89:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_pubkey_generate_from_privkey’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:132:5: warning: ‘ssh_try_publickey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:679:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:147:5: warning: ‘publickey_from_privatekey’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:379:16: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:150:5: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:152:5: warning: ‘publickey_to_string’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:565:12: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:153:5: warning: ‘publickey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:357:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:162:5: warning: ‘ssh_publickey_to_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:607:5: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_privatekey_from_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:192:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:195:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:200:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:203:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_privatekey_from_file_passphrase’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:216:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:219:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:224:5: warning: ‘privatekey_from_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:227:9: warning: ‘privatekey_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:476:6: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c: In function ‘publickey_from_privatekey’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:390:24: warning: dereference of NULL ‘prv’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:118:13: note: (1) entry to ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:15: note: (2) calling ‘privatekey_from_file’ from ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: (3) entry to ‘privatekey_from_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:432:8: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:438:10: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:15: note: (6) returning to ‘torture_pubkey_generate_from_privkey’ from ‘privatekey_from_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:147:14: note: (7) calling ‘publickey_from_privatekey’ from ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:379:16: note: (8) entry to ‘publickey_from_privatekey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:386:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:390:24: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:390:24: note: (11) dereference of NULL ‘prv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c: In function ‘torture_pubkey_generate_from_privkey’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:149:14: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:118:13: note: (1) entry to ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:15: note: (2) calling ‘privatekey_from_file’ from ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:420:17: note: (3) entry to ‘privatekey_from_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:432:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:433:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:144:15: note: (6) returning to ‘torture_pubkey_generate_from_privkey’ from ‘privatekey_from_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:147:14: note: (7) calling ‘publickey_from_privatekey’ from ‘torture_pubkey_generate_from_privkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:379:16: note: (8) entry to ‘publickey_from_privatekey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/legacy.c:386:8: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:147:14: note: (11) returning to ‘torture_pubkey_generate_from_privkey’ from ‘publickey_from_privatekey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_keyfiles.c:149:14: note: (12) dereference of NULL ‘privatekey_from_file(session, "libssh_testkey.id_rsa", 0, 0)’ <--[csmock-gcc-wrapper] [ 63%] Linking C executable torture_keyfiles cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_keyfiles.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -o torture_keyfiles ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 63%] Built target torture_keyfiles /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki.dir/build.make tests/unittests/CMakeFiles/torture_pki.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki.dir/build.make tests/unittests/CMakeFiles/torture_pki.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_pki.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki.dir/torture_pki.c.o -MF CMakeFiles/torture_pki.dir/torture_pki.c.o.d -o CMakeFiles/torture_pki.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:9: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c: In function ‘torture_pki_verify_mismatch’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:276:33: warning: dereference of NULL ‘key’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:232:13: note: (1) entry to ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:13: note: (2) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:25: note: (3) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:44: note: (4) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:59: note: (5) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:251:19: note: (6) following ‘true’ branch (when ‘sig_type != 15’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:255:19: note: (8) following ‘true’ branch (when ‘hash != 5’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/wrapper.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:36, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:8: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:258:17: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:269:16: note: (10) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (12) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (13) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (16) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:275:13: note: (17) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:276:33: note: (18) dereference of NULL ‘key’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:300:34: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:232:13: note: (1) entry to ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:251:19: note: (2) following ‘true’ branch (when ‘sig_type != 15’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:255:19: note: (4) following ‘true’ branch (when ‘hash != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:258:17: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:269:16: note: (6) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (8) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (9) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (10) calling ‘ssh_key_new’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:109:9: note: (11) entry to ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:112:8: note: (12) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/session.h:25, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:47: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:359:47: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:115:5: note: in expansion of macro ‘ZERO_STRUCTP’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (14) returning to ‘ssh_pki_generate’ from ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2026:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (17) calling ‘ssh_key_type_to_char’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:261:13: note: (18) entry to ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:262:3: note: (19) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (21) returning to ‘ssh_pki_generate’ from ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2030:5: note: (22) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2031:9: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2033:15: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2086:11: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (26) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:284:16: note: (27) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (29) calling ‘ssh_pki_export_privkey_to_pubkey’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2105:5: note: (30) entry to ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:8: note: (31) following ‘false’ branch (when ‘privkey’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: note: (32) inlined call to ‘ssh_key_is_private’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] In function ‘ssh_key_is_private’, inlined from ‘ssh_pki_export_privkey_to_pubkey’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:645:14: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c: In function ‘torture_pki_verify_mismatch’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (34) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (35) calling ‘pki_do_sign’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2664:15: note: (36) entry to ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2671:8: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (39) calling ‘pki_key_check_hash_compatible’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2495:5: note: (40) entry to ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2498:8: note: (41) following ‘false’ branch (when ‘key’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:15: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:5: note: (43) following ‘case 0 ... 1:, case 3 ... 4:, case 6:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2550:5: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (45) returning to ‘pki_do_sign’ from ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2679:8: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (47) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (48) returning to ‘torture_pki_verify_mismatch’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:300:34: note: (49) dereference of NULL ‘pki_do_sign(key, & INPUT, 65, hash)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:21: warning: dereference of NULL ‘verify_key’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:232:13: note: (1) entry to ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:13: note: (2) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:25: note: (3) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:44: note: (4) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:59: note: (5) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:251:19: note: (6) following ‘true’ branch (when ‘sig_type != 15’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:255:19: note: (8) following ‘true’ branch (when ‘hash != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:258:17: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:269:16: note: (10) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (12) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (13) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (14) calling ‘ssh_key_new’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:109:9: note: (15) entry to ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:112:8: note: (16) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:359:47: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:115:5: note: in expansion of macro ‘ZERO_STRUCTP’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (18) returning to ‘ssh_pki_generate’ from ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2026:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (21) calling ‘ssh_key_type_to_char’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:261:13: note: (22) entry to ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:262:3: note: (23) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (25) returning to ‘ssh_pki_generate’ from ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2030:5: note: (26) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2031:9: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2033:15: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2086:11: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (30) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:284:16: note: (31) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (33) calling ‘ssh_pki_export_privkey_to_pubkey’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2105:5: note: (34) entry to ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:8: note: (35) following ‘false’ branch (when ‘privkey’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: note: (36) inlined call to ‘ssh_key_is_private’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] In function ‘ssh_key_is_private’, inlined from ‘ssh_pki_export_privkey_to_pubkey’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:645:14: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c: In function ‘torture_pki_verify_mismatch’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (38) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:295:13: note: (39) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (40) calling ‘pki_do_sign’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2664:15: note: (41) entry to ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2671:8: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (44) calling ‘pki_key_check_hash_compatible’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2495:5: note: (45) entry to ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2498:8: note: (46) following ‘false’ branch (when ‘key’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:5: note: (48) following ‘case 5:, case 14:, case 17 ... 18:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2542:5: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2546:12: note: (50) following ‘true’ branch (when ‘hash_type == 0’)... <--[csmock-gcc-wrapper] cc1: note: (51) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (52) returning to ‘pki_do_sign’ from ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2679:8: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2683:12: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (55) returning to ‘torture_pki_verify_mismatch’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:325:27: note: (56) following ‘true’ branch (when ‘key_type != 15’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:328:21: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:337:20: note: (58) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:341:17: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:344:20: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (62) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (63) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (65) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (66) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:352:21: note: (67) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:353:26: note: (68) calling ‘ssh_pki_export_privkey_to_pubkey’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2105:5: note: (69) entry to ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:8: note: (70) following ‘true’ branch (when ‘privkey’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (71) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:353:26: note: (72) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:356:17: note: (73) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:359:22: note: (74) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:367:22: note: (75) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:375:27: note: (76) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:53: note: (77) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:21: note: (78) dereference of NULL ‘verify_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:21: warning: dereference of NULL ‘pubkey’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:232:13: note: (1) entry to ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:13: note: (2) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:25: note: (3) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:44: note: (4) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:236:59: note: (5) ‘key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:251:19: note: (6) following ‘true’ branch (when ‘sig_type != 15’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:255:19: note: (8) following ‘true’ branch (when ‘hash != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:258:17: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:269:16: note: (10) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (12) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (13) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (14) calling ‘ssh_key_new’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:109:9: note: (15) entry to ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:112:8: note: (16) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:359:47: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:115:5: note: in expansion of macro ‘ZERO_STRUCTP’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (18) returning to ‘ssh_pki_generate’ from ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2026:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (21) calling ‘ssh_key_type_to_char’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:261:13: note: (22) entry to ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:262:3: note: (23) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (25) returning to ‘ssh_pki_generate’ from ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2030:5: note: (26) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2031:9: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2033:15: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2086:11: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:273:18: note: (30) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:284:16: note: (31) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (33) calling ‘ssh_pki_export_privkey_to_pubkey’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2105:5: note: (34) entry to ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:8: note: (35) following ‘false’ branch (when ‘privkey’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: note: (36) inlined call to ‘ssh_key_is_private’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] In function ‘ssh_key_is_private’, inlined from ‘ssh_pki_export_privkey_to_pubkey’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:645:14: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c: In function ‘torture_pki_verify_mismatch’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:293:18: note: (38) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:295:13: note: (39) ‘verify_key’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (40) calling ‘pki_do_sign’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2664:15: note: (41) entry to ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2671:8: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (44) calling ‘pki_key_check_hash_compatible’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2495:5: note: (45) entry to ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2498:8: note: (46) following ‘false’ branch (when ‘key’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2504:5: note: (48) following ‘case 5:, case 14:, case 17 ... 18:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2542:5: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2546:12: note: (50) following ‘true’ branch (when ‘hash_type == 0’)... <--[csmock-gcc-wrapper] cc1: note: (51) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2678:10: note: (52) returning to ‘pki_do_sign’ from ‘pki_key_check_hash_compatible’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2679:8: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2683:12: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:298:20: note: (55) returning to ‘torture_pki_verify_mismatch’ from ‘pki_do_sign’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:325:27: note: (56) following ‘true’ branch (when ‘key_type != 15’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libcrypto.h:117:25: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:328:21: note: in expansion of macro ‘ssh_fips_mode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:337:20: note: (58) following ‘false’ branch (when ‘ != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:341:17: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:344:20: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (62) calling ‘ssh_pki_generate’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2016:5: note: (63) entry to ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (64) calling ‘ssh_key_new’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:109:9: note: (65) entry to ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:112:8: note: (66) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:359:47: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:115:5: note: in expansion of macro ‘ZERO_STRUCTP’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2020:19: note: (68) returning to ‘ssh_pki_generate’ from ‘ssh_key_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2022:8: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2026:15: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (71) calling ‘ssh_key_type_to_char’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:261:13: note: (72) entry to ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:262:3: note: (73) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] cc1: note: (74) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2027:19: note: (75) returning to ‘ssh_pki_generate’ from ‘ssh_key_type_to_char’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2030:5: note: (76) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2031:9: note: (77) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2033:15: note: (78) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2086:11: note: (79) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:350:26: note: (80) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_generate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:353:26: note: (81) calling ‘ssh_pki_export_privkey_to_pubkey’ from ‘torture_pki_verify_mismatch’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2105:5: note: (82) entry to ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:8: note: (83) following ‘false’ branch (when ‘privkey’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: note: (84) inlined call to ‘ssh_key_is_private’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] In function ‘ssh_key_is_private’, inlined from ‘ssh_pki_export_privkey_to_pubkey’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:2110:29: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/pki.c:645:14: note: (85) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c: In function ‘torture_pki_verify_mismatch’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:353:26: note: (86) returning to ‘torture_pki_verify_mismatch’ from ‘ssh_pki_export_privkey_to_pubkey’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:356:17: note: (87) ‘pubkey’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:359:22: note: (88) ‘pubkey’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:367:22: note: (89) ‘pubkey’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:375:27: note: (90) ‘pubkey’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:53: note: (91) ‘pubkey’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki.c:379:21: note: (92) dereference of NULL ‘verify_pubkey’ <--[csmock-gcc-wrapper] [ 63%] Linking C executable torture_pki cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki.dir/torture_pki.c.o -o torture_pki ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 63%] Built target torture_pki /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_rsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -MF CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o.d -o CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_rsa.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_rsa.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 64%] Linking C executable torture_pki_rsa cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_rsa.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -o torture_pki_rsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 64%] Built target torture_pki_rsa /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_dsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_dsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_dsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_dsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_dsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_pki_dsa.dir/torture_pki_dsa.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_dsa.dir/torture_pki_dsa.c.o -MF CMakeFiles/torture_pki_dsa.dir/torture_pki_dsa.c.o.d -o CMakeFiles/torture_pki_dsa.dir/torture_pki_dsa.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_dsa.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_dsa.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 65%] Linking C executable torture_pki_dsa cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_dsa.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_dsa.dir/torture_pki_dsa.c.o -o torture_pki_dsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 65%] Built target torture_pki_dsa /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build.make tests/unittests/CMakeFiles/torture_pki_ed25519.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ed25519.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build.make tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -MF CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o.d -o CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c: In function ‘torture_pki_ed25519_verify’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:830:11: warning: use of possibly-NULL ‘pkey_ptr’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:815:29: note: (1) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:815:22: note: (2) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:822:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:826:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:830:11: note: (5) argument 1 (‘pkey_ptr’) from (2) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strchr’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c: In function ‘torture_pki_ed25519_verify_bad’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:885:11: warning: use of possibly-NULL ‘pkey_ptr’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:870:29: note: (1) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:870:22: note: (2) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:877:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:881:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:885:11: note: (5) argument 1 (‘pkey_ptr’) from (2) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strchr’ must be non-null /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c: In function ‘torture_pki_ed25519_pubkey_dup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:992:8: warning: dereference of NULL ‘q’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:980:21: note: (1) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:990:9: note: (2) when ‘strchr’ returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ed25519.c:992:8: note: (3) dereference of NULL ‘q’ <--[csmock-gcc-wrapper] [ 65%] Linking C executable torture_pki_ed25519 cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ed25519.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -o torture_pki_ed25519 ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 65%] Built target torture_pki_ed25519 /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_channel.dir/build.make tests/unittests/CMakeFiles/torture_channel.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_channel.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_channel.dir/build.make tests/unittests/CMakeFiles/torture_channel.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 66%] Building C object tests/unittests/CMakeFiles/torture_channel.dir/torture_channel.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_channel.dir/torture_channel.c.o -MF CMakeFiles/torture_channel.dir/torture_channel.c.o.d -o CMakeFiles/torture_channel.dir/torture_channel.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_channel.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_channel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 66%] Linking C executable torture_channel cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_channel.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_channel.dir/torture_channel.c.o -o torture_channel ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 66%] Built target torture_channel /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/build.make tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/build.make tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 66%] Building C object tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/torture_config_match_localnetwork.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_config_match_localnetwork.dir/torture_config_match_localnetwork.c.o -MF CMakeFiles/torture_config_match_localnetwork.dir/torture_config_match_localnetwork.c.o.d -o CMakeFiles/torture_config_match_localnetwork.dir/torture_config_match_localnetwork.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_config_match_localnetwork.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_config_match_localnetwork.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 66%] Linking C executable torture_config_match_localnetwork cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_config_match_localnetwork.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_config_match_localnetwork.dir/torture_config_match_localnetwork.c.o -o torture_config_match_localnetwork ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 66%] Built target torture_config_match_localnetwork /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bind_config.dir/build.make tests/unittests/CMakeFiles/torture_bind_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_bind_config.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bind_config.dir/build.make tests/unittests/CMakeFiles/torture_bind_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 67%] Building C object tests/unittests/CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -MF CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o.d -o CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_bind_config.c [ 67%] Linking C executable torture_bind_config cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_bind_config.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -o torture_bind_config ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 67%] Built target torture_bind_config /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_moduli.dir/build.make tests/unittests/CMakeFiles/torture_moduli.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_moduli.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_moduli.dir/build.make tests/unittests/CMakeFiles/torture_moduli.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 68%] Building C object tests/unittests/CMakeFiles/torture_moduli.dir/torture_moduli.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_moduli.dir/torture_moduli.c.o -MF CMakeFiles/torture_moduli.dir/torture_moduli.c.o.d -o CMakeFiles/torture_moduli.dir/torture_moduli.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c: In function ‘torture_retrieve_dhgroup_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c:84:5: warning: use of possibly-NULL ‘tmpfile()’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c:79:20: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c:84:5: note: (2) argument 4 (‘tmpfile()’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:27, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_moduli.c:5: <--[csmock-gcc-wrapper] /usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null <--[csmock-gcc-wrapper] [ 68%] Linking C executable torture_moduli cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_moduli.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_moduli.dir/torture_moduli.c.o -o torture_moduli ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 68%] Built target torture_moduli /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 68%] Building C object tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -MF CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o.d -o CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_rsa_uri.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_rsa_uri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 68%] Linking C executable torture_pki_rsa_uri cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_rsa_uri.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -o torture_pki_rsa_uri ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 68%] Built target torture_pki_rsa_uri /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 68%] Building C object tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -MF CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o.d -o CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa_uri.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa_uri.c: In function ‘torture_pki_ecdsa_publickey_from_privatekey_uri’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa_uri.c:218:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 218 | system(convert_key_to_pem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa_uri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 69%] Linking C executable torture_pki_ecdsa_uri cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ecdsa_uri.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -o torture_pki_ecdsa_uri ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Built target torture_pki_ecdsa_uri /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Building C object tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -MF CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o.d -o CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_pki_ecdsa.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 69%] Linking C executable torture_pki_ecdsa cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ecdsa.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -o torture_pki_ecdsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Built target torture_pki_ecdsa /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_rand.dir/build.make tests/unittests/CMakeFiles/torture_rand.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_rand.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_rand.dir/build.make tests/unittests/CMakeFiles/torture_rand.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Building C object tests/unittests/CMakeFiles/torture_rand.dir/torture_rand.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_rand.dir/torture_rand.c.o -MF CMakeFiles/torture_rand.dir/torture_rand.c.o.d -o CMakeFiles/torture_rand.dir/torture_rand.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_rand.c [ 69%] Linking C executable torture_rand cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_rand.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_rand.dir/torture_rand.c.o -o torture_rand ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Built target torture_rand /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_init.dir/build.make tests/unittests/CMakeFiles/torture_threads_init.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_init.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_init.dir/build.make tests/unittests/CMakeFiles/torture_threads_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Building C object tests/unittests/CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -MF CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o.d -o CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_init.c [ 69%] Linking C executable torture_threads_init cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_init.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -o torture_threads_init ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Built target torture_threads_init /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_buffer.dir/build.make tests/unittests/CMakeFiles/torture_threads_buffer.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_buffer.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_buffer.dir/build.make tests/unittests/CMakeFiles/torture_threads_buffer.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Building C object tests/unittests/CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -MF CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o.d -o CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_buffer.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_buffer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_buffer.c:133: warning: nullPointer(CWE-476): Possible null pointer dereference: buffer <--[cppcheck] [ 69%] Linking C executable torture_threads_buffer cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_buffer.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -o torture_threads_buffer ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Built target torture_threads_buffer /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_crypto.dir/build.make tests/unittests/CMakeFiles/torture_threads_crypto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_crypto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_crypto.dir/build.make tests/unittests/CMakeFiles/torture_threads_crypto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 69%] Building C object tests/unittests/CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -MF CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o.d -o CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_crypto.c [ 70%] Linking C executable torture_threads_crypto cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_crypto.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -o torture_threads_crypto ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 70%] Built target torture_threads_crypto /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 70%] Building C object tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -MF CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o.d -o CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_pki_rsa.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_threads_pki_rsa.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 71%] Linking C executable torture_threads_pki_rsa cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_pki_rsa.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -o torture_threads_pki_rsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 71%] Built target torture_threads_pki_rsa /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_unit_server.dir/build.make tests/unittests/CMakeFiles/torture_unit_server.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests/CMakeFiles/torture_unit_server.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_unit_server.dir/build.make tests/unittests/CMakeFiles/torture_unit_server.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 71%] Building C object tests/unittests/CMakeFiles/torture_unit_server.dir/torture_unit_server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/lib64/cscppc/gcc -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_unit_server.dir/torture_unit_server.c.o -MF CMakeFiles/torture_unit_server.dir/torture_unit_server.c.o.d -o CMakeFiles/torture_unit_server.dir/torture_unit_server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/unittests/torture_unit_server.c [ 72%] Linking C executable torture_unit_server cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_unit_server.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_unit_server.dir/torture_unit_server.c.o -o torture_unit_server ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Built target torture_unit_server /usr/bin/gmake -f tests/client/CMakeFiles/torture_algorithms.dir/build.make tests/client/CMakeFiles/torture_algorithms.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_algorithms.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_algorithms.dir/build.make tests/client/CMakeFiles/torture_algorithms.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Building C object tests/client/CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -MF CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o.d -o CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_algorithms.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_algorithms.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 72%] Linking C executable torture_algorithms cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_algorithms.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -o torture_algorithms ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Built target torture_algorithms /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_callbacks.dir/build.make tests/client/CMakeFiles/torture_client_callbacks.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_client_callbacks.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_callbacks.dir/build.make tests/client/CMakeFiles/torture_client_callbacks.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Building C object tests/client/CMakeFiles/torture_client_callbacks.dir/torture_client_callbacks.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_client_callbacks.dir/torture_client_callbacks.c.o -MF CMakeFiles/torture_client_callbacks.dir/torture_client_callbacks.c.o.d -o CMakeFiles/torture_client_callbacks.dir/torture_client_callbacks.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_client_callbacks.c [ 72%] Linking C executable torture_client_callbacks cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_client_callbacks.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_client_callbacks.dir/torture_client_callbacks.c.o -o torture_client_callbacks ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Built target torture_client_callbacks /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_config.dir/build.make tests/client/CMakeFiles/torture_client_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_client_config.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_config.dir/build.make tests/client/CMakeFiles/torture_client_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 72%] Building C object tests/client/CMakeFiles/torture_client_config.dir/torture_client_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_client_config.dir/torture_client_config.c.o -MF CMakeFiles/torture_client_config.dir/torture_client_config.c.o.d -o CMakeFiles/torture_client_config.dir/torture_client_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_client_config.c [ 73%] Linking C executable torture_client_config cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_client_config.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_client_config.dir/torture_client_config.c.o -o torture_client_config ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 73%] Built target torture_client_config /usr/bin/gmake -f tests/client/CMakeFiles/torture_connect.dir/build.make tests/client/CMakeFiles/torture_connect.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_connect.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_connect.dir/build.make tests/client/CMakeFiles/torture_connect.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 73%] Building C object tests/client/CMakeFiles/torture_connect.dir/torture_connect.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_connect.dir/torture_connect.c.o -MF CMakeFiles/torture_connect.dir/torture_connect.c.o.d -o CMakeFiles/torture_connect.dir/torture_connect.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_connect.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_connect.c: In function ‘torture_connect_socket’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_connect.c:220:10: warning: ‘connect’ on possibly invalid file descriptor ‘sock_fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_connect.c:217:15: note: (1) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_connect.c:220:10: note: (2) ‘sock_fd’ could be invalid <--[csmock-gcc-wrapper] [ 74%] Linking C executable torture_connect cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_connect.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_connect.dir/torture_connect.c.o -o torture_connect ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 74%] Built target torture_connect /usr/bin/gmake -f tests/client/CMakeFiles/torture_hostkey.dir/build.make tests/client/CMakeFiles/torture_hostkey.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_hostkey.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_hostkey.dir/build.make tests/client/CMakeFiles/torture_hostkey.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 74%] Building C object tests/client/CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -MF CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o.d -o CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_hostkey.c [ 75%] Linking C executable torture_hostkey cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_hostkey.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -o torture_hostkey ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 75%] Built target torture_hostkey /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth.dir/build.make tests/client/CMakeFiles/torture_auth.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_auth.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth.dir/build.make tests/client/CMakeFiles/torture_auth.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 76%] Building C object tests/client/CMakeFiles/torture_auth.dir/torture_auth.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_auth.dir/torture_auth.c.o -MF CMakeFiles/torture_auth.dir/torture_auth.c.o.d -o CMakeFiles/torture_auth.dir/torture_auth.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 76%] Linking C executable torture_auth cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_auth.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_auth.dir/torture_auth.c.o -o torture_auth ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 76%] Built target torture_auth /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_cert.dir/build.make tests/client/CMakeFiles/torture_auth_cert.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_auth_cert.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_cert.dir/build.make tests/client/CMakeFiles/torture_auth_cert.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 76%] Building C object tests/client/CMakeFiles/torture_auth_cert.dir/torture_auth_cert.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_auth_cert.dir/torture_auth_cert.c.o -MF CMakeFiles/torture_auth_cert.dir/torture_auth_cert.c.o.d -o CMakeFiles/torture_auth_cert.dir/torture_auth_cert.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c: In function ‘agent_cert_setup_explicit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c:736:10: warning: ‘read’ on possibly invalid file descriptor ‘open(&orig_doe_ssh_key, 0)’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c:734:10: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_cert.c:736:10: note: (2) ‘open(&orig_doe_ssh_key, 0)’ could be invalid: unchecked value from (1) <--[csmock-gcc-wrapper] [ 76%] Linking C executable torture_auth_cert cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_auth_cert.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_auth_cert.dir/torture_auth_cert.c.o -o torture_auth_cert ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 76%] Built target torture_auth_cert /usr/bin/gmake -f tests/client/CMakeFiles/torture_rekey.dir/build.make tests/client/CMakeFiles/torture_rekey.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_rekey.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_rekey.dir/build.make tests/client/CMakeFiles/torture_rekey.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 76%] Building C object tests/client/CMakeFiles/torture_rekey.dir/torture_rekey.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_rekey.dir/torture_rekey.c.o -MF CMakeFiles/torture_rekey.dir/torture_rekey.c.o.d -o CMakeFiles/torture_rekey.dir/torture_rekey.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_rekey.c [ 77%] Linking C executable torture_rekey cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_rekey.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_rekey.dir/torture_rekey.c.o -o torture_rekey ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 77%] Built target torture_rekey /usr/bin/gmake -f tests/client/CMakeFiles/torture_forward.dir/build.make tests/client/CMakeFiles/torture_forward.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_forward.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_forward.dir/build.make tests/client/CMakeFiles/torture_forward.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 77%] Building C object tests/client/CMakeFiles/torture_forward.dir/torture_forward.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_forward.dir/torture_forward.c.o -MF CMakeFiles/torture_forward.dir/torture_forward.c.o.d -o CMakeFiles/torture_forward.dir/torture_forward.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_forward.c [ 78%] Linking C executable torture_forward cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_forward.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_forward.dir/torture_forward.c.o -o torture_forward ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Built target torture_forward /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts.dir/build.make tests/client/CMakeFiles/torture_knownhosts.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_knownhosts.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts.dir/build.make tests/client/CMakeFiles/torture_knownhosts.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Building C object tests/client/CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -Wno-deprecated-declarations -MD -MT tests/client/CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -MF CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o.d -o CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_knownhosts.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_knownhosts.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 78%] Linking C executable torture_knownhosts cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -o torture_knownhosts ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Built target torture_knownhosts /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts_verify.dir/build.make tests/client/CMakeFiles/torture_knownhosts_verify.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_knownhosts_verify.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts_verify.dir/build.make tests/client/CMakeFiles/torture_knownhosts_verify.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Building C object tests/client/CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -MF CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o.d -o CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_knownhosts_verify.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_knownhosts_verify.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 78%] Linking C executable torture_knownhosts_verify cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts_verify.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -o torture_knownhosts_verify ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Built target torture_knownhosts_verify /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxycommand.dir/build.make tests/client/CMakeFiles/torture_proxycommand.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_proxycommand.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxycommand.dir/build.make tests/client/CMakeFiles/torture_proxycommand.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 78%] Building C object tests/client/CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -MF CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o.d -o CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_proxycommand.c [ 79%] Linking C executable torture_proxycommand cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_proxycommand.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -o torture_proxycommand ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Built target torture_proxycommand /usr/bin/gmake -f tests/client/CMakeFiles/torture_session.dir/build.make tests/client/CMakeFiles/torture_session.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_session.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_session.dir/build.make tests/client/CMakeFiles/torture_session.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Building C object tests/client/CMakeFiles/torture_session.dir/torture_session.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_session.dir/torture_session.c.o -MF CMakeFiles/torture_session.dir/torture_session.c.o.d -o CMakeFiles/torture_session.dir/torture_session.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c: In function ‘torture_freed_channel_get_exit_status’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:504:9: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[gcc] 504 | rc = ssh_channel_get_exit_status(channel); | ^~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:26: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[gcc] 471 | SSH_DEPRECATED LIBSSH_API int ssh_channel_get_exit_status(ssh_channel channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c: In function ‘torture_pubkey_hash’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:554:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[gcc] 554 | rc = ssh_get_pubkey_hash(session, NULL); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[gcc] 575 | SSH_DEPRECATED LIBSSH_API int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:557:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[gcc] 557 | rc = ssh_get_pubkey_hash(NULL, (unsigned char **)&hash); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[gcc] 575 | SSH_DEPRECATED LIBSSH_API int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:561:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[gcc] 561 | rc = ssh_get_pubkey_hash(session, (unsigned char **)&hash); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[gcc] 575 | SSH_DEPRECATED LIBSSH_API int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c: In function ‘torture_freed_channel_get_exit_status’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:504:9: warning: ‘ssh_channel_get_exit_status’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:471:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c: In function ‘torture_pubkey_hash’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:554:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:557:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_session.c:561:5: warning: ‘ssh_get_pubkey_hash’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:575:31: note: declared here <--[csmock-gcc-wrapper] [ 79%] Linking C executable torture_session cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_session.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_session.dir/torture_session.c.o -o torture_session ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Built target torture_session /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_env.dir/build.make tests/client/CMakeFiles/torture_request_env.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_request_env.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_env.dir/build.make tests/client/CMakeFiles/torture_request_env.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Building C object tests/client/CMakeFiles/torture_request_env.dir/torture_request_env.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_request_env.dir/torture_request_env.c.o -MF CMakeFiles/torture_request_env.dir/torture_request_env.c.o.d -o CMakeFiles/torture_request_env.dir/torture_request_env.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_env.c [ 79%] Linking C executable torture_request_env cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_request_env.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_request_env.dir/torture_request_env.c.o -o torture_request_env ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Built target torture_request_env /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_pty_modes.dir/build.make tests/client/CMakeFiles/torture_request_pty_modes.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_request_pty_modes.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_pty_modes.dir/build.make tests/client/CMakeFiles/torture_request_pty_modes.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 79%] Building C object tests/client/CMakeFiles/torture_request_pty_modes.dir/torture_request_pty_modes.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_request_pty_modes.dir/torture_request_pty_modes.c.o -MF CMakeFiles/torture_request_pty_modes.dir/torture_request_pty_modes.c.o.d -o CMakeFiles/torture_request_pty_modes.dir/torture_request_pty_modes.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c: In function ‘torture_request_pty_modes_use_stdin_modes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:183:5: warning: ‘dup2’ on possibly invalid file descriptor ‘stdin_backup_fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:168:23: note: (1) opened here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:172:17: note: (2) when ‘isatty’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:183:5: note: (3) ‘stdin_backup_fd’ could be invalid: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c: In function ‘torture_request_pty_modes_use_default_modes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:226:5: warning: ‘dup2’ on possibly invalid file descriptor ‘stdin_backup_fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:217:23: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:221:18: note: (2) when ‘isatty’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_request_pty_modes.c:226:5: note: (3) ‘stdin_backup_fd’ could be invalid: unchecked value from (1) <--[csmock-gcc-wrapper] [ 80%] Linking C executable torture_request_pty_modes cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_request_pty_modes.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_request_pty_modes.dir/torture_request_pty_modes.c.o -o torture_request_pty_modes ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 80%] Built target torture_request_pty_modes /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_global_requests.dir/build.make tests/client/CMakeFiles/torture_client_global_requests.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_client_global_requests.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_global_requests.dir/build.make tests/client/CMakeFiles/torture_client_global_requests.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 80%] Building C object tests/client/CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -MF CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o.d -o CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_client_global_requests.c [ 80%] Linking C executable torture_client_global_requests cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_client_global_requests.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -o torture_client_global_requests ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 80%] Built target torture_client_global_requests /usr/bin/gmake -f tests/client/CMakeFiles/torture_scp.dir/build.make tests/client/CMakeFiles/torture_scp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_scp.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_scp.dir/build.make tests/client/CMakeFiles/torture_scp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 80%] Building C object tests/client/CMakeFiles/torture_scp.dir/torture_scp.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_scp.dir/torture_scp.c.o -MF CMakeFiles/torture_scp.dir/torture_scp.c.o.d -o CMakeFiles/torture_scp.dir/torture_scp.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:188:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 188 | scp = ssh_scp_new(session, SSH_SCP_WRITE, ts->tmp_dir_basename); | ^~~ In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[gcc] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:28: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:191:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 191 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:199:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 199 | rc = ssh_scp_push_file(scp, "a", BUF_SIZE, 0644); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[gcc] 596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:202:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[gcc] 202 | rc = ssh_scp_write(scp, expected_a, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[gcc] 604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:206:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 206 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:207:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 207 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_recursive’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:252:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 252 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:256:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 256 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:260:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 260 | rc = ssh_scp_push_directory(scp, "test_dir", 0755); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[gcc] 595 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:267:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 267 | rc = ssh_scp_push_file(scp, "b", BUF_SIZE, 0644); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[gcc] 596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:270:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[gcc] 270 | rc = ssh_scp_write(scp, expected_b, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[gcc] 604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:274:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 274 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[gcc] 592 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:278:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 278 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:279:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 279 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_download’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:348:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 348 | scp = ssh_scp_new(session, SSH_SCP_READ, buf); | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:351:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 351 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:354:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 354 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:357:5: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[gcc] 357 | size = ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[gcc] 601 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:360:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 360 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:363:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 363 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:367:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 367 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:370:5: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[gcc] 370 | rc = ssh_scp_read(scp, buf, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[gcc] 598 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:376:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 376 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:377:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 377 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_download_recursive’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:427:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 427 | scp = ssh_scp_new(session, SSH_SCP_READ | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:431:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 431 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:435:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 435 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:438:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 438 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:441:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 441 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:445:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 445 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:449:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 449 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:452:5: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[gcc] 452 | size = ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[gcc] 601 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:455:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[gcc] 455 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[gcc] 600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:458:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[gcc] 458 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[gcc] 599 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:462:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 462 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[gcc] 587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:465:5: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[gcc] 465 | rc = ssh_scp_read(scp, buf, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[gcc] 598 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:472:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 472 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:476:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[gcc] 476 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[gcc] 594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:480:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 480 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:481:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 481 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_newline’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:513:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 513 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:517:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 517 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:521:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 521 | rc = ssh_scp_push_directory(scp, "test_inject", 0755); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[gcc] 595 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:525:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 525 | rc = ssh_scp_push_file(scp, "original\nreplacedC0777 8 injected", 8, 0644); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[gcc] 596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:528:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[gcc] 528 | rc = ssh_scp_write(scp, "original", 8); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[gcc] 604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:532:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 532 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[gcc] 592 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:536:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 536 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:537:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 537 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_appended_command’: <--[gcc] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:587:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[gcc] 587 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[gcc] 593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:591:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[gcc] 591 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[gcc] 591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:595:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 595 | rc = ssh_scp_push_directory(scp, ";touch hack", 0755); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[gcc] 595 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:599:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[gcc] 599 | rc = ssh_scp_push_file(scp, "original", 8, 0644); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[gcc] 596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:602:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[gcc] 602 | rc = ssh_scp_write(scp, "original", 8); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[gcc] 604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:606:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[gcc] 606 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[gcc] 592 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:610:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[gcc] 610 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[gcc] 588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:611:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[gcc] 611 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[gcc] 590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:188:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:28: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:191:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:199:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:202:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:206:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:207:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_recursive’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:252:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:256:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:260:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:267:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:270:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:274:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:278:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:279:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_download’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:348:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:351:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:354:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:357:5: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:360:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:363:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:367:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:370:5: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:376:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:377:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_download_recursive’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:427:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:431:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:435:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:438:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:441:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:445:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:449:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:452:5: warning: ‘ssh_scp_request_get_size’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:601:34: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:455:5: warning: ‘ssh_scp_request_get_permissions’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:600:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:458:5: warning: ‘ssh_scp_request_get_filename’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:599:39: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:462:5: warning: ‘ssh_scp_accept_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:587:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:465:5: warning: ‘ssh_scp_read’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:598:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:472:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:476:5: warning: ‘ssh_scp_pull_request’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:594:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:480:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:481:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_newline’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:513:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:517:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:521:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:525:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:528:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:532:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:536:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:537:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c: In function ‘torture_scp_upload_appended_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:587:5: warning: ‘ssh_scp_new’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:593:35: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:591:5: warning: ‘ssh_scp_init’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:591:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:595:5: warning: ‘ssh_scp_push_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:595:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:599:5: warning: ‘ssh_scp_push_file’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:596:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:602:5: warning: ‘ssh_scp_write’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:604:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:606:5: warning: ‘ssh_scp_leave_directory’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:592:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:610:5: warning: ‘ssh_scp_close’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:588:31: note: declared here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_scp.c:611:5: warning: ‘ssh_scp_free’ is deprecated [-Wdeprecated-declarations] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:590:32: note: declared here <--[csmock-gcc-wrapper] [ 80%] Linking C executable torture_scp cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_scp.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_scp.dir/torture_scp.c.o -o torture_scp ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 80%] Built target torture_scp /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_pkcs11.dir/build.make tests/client/CMakeFiles/torture_auth_pkcs11.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_auth_pkcs11.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_pkcs11.dir/build.make tests/client/CMakeFiles/torture_auth_pkcs11.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Building C object tests/client/CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -MF CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o.d -o CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_pkcs11.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_auth_pkcs11.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 81%] Linking C executable torture_auth_pkcs11 cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_auth_pkcs11.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -o torture_auth_pkcs11 ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Built target torture_auth_pkcs11 /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxyjump.dir/build.make tests/client/CMakeFiles/torture_proxyjump.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_proxyjump.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxyjump.dir/build.make tests/client/CMakeFiles/torture_proxyjump.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Building C object tests/client/CMakeFiles/torture_proxyjump.dir/torture_proxyjump.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_proxyjump.dir/torture_proxyjump.c.o -MF CMakeFiles/torture_proxyjump.dir/torture_proxyjump.c.o.d -o CMakeFiles/torture_proxyjump.dir/torture_proxyjump.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_proxyjump.c [ 81%] Linking C executable torture_proxyjump cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_proxyjump.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_proxyjump.dir/torture_proxyjump.c.o -o torture_proxyjump ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Built target torture_proxyjump /usr/bin/gmake -f tests/client/CMakeFiles/torture_gssapi_auth.dir/build.make tests/client/CMakeFiles/torture_gssapi_auth.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_gssapi_auth.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_gssapi_auth.dir/build.make tests/client/CMakeFiles/torture_gssapi_auth.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Building C object tests/client/CMakeFiles/torture_gssapi_auth.dir/torture_gssapi_auth.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_gssapi_auth.dir/torture_gssapi_auth.c.o -MF CMakeFiles/torture_gssapi_auth.dir/torture_gssapi_auth.c.o.d -o CMakeFiles/torture_gssapi_auth.dir/torture_gssapi_auth.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_gssapi_auth.c [ 81%] Linking C executable torture_gssapi_auth cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_gssapi_auth.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_gssapi_auth.dir/torture_gssapi_auth.c.o -o torture_gssapi_auth ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Built target torture_gssapi_auth /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_init.dir/build.make tests/client/CMakeFiles/torture_sftp_init.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_init.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_init.dir/build.make tests/client/CMakeFiles/torture_sftp_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Building C object tests/client/CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -MF CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o.d -o CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_init.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_init.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_init.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_init.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 81%] Linking C executable torture_sftp_init cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_init.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -o torture_sftp_init ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Built target torture_sftp_init /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_ext.dir/build.make tests/client/CMakeFiles/torture_sftp_ext.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_ext.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_ext.dir/build.make tests/client/CMakeFiles/torture_sftp_ext.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Building C object tests/client/CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -MF CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o.d -o CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_ext.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_ext.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_ext.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_ext.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 81%] Linking C executable torture_sftp_ext cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_ext.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -o torture_sftp_ext ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 81%] Built target torture_sftp_ext /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build.make tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build.make tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 82%] Building C object tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -MF CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o.d -o CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_canonicalize_path.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_canonicalize_path.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_canonicalize_path.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_canonicalize_path.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 82%] Linking C executable torture_sftp_canonicalize_path cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_canonicalize_path.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -o torture_sftp_canonicalize_path ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 82%] Built target torture_sftp_canonicalize_path /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_dir.dir/build.make tests/client/CMakeFiles/torture_sftp_dir.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_dir.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_dir.dir/build.make tests/client/CMakeFiles/torture_sftp_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 82%] Building C object tests/client/CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -MF CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o.d -o CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_dir.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_dir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_dir.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_dir.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 82%] Linking C executable torture_sftp_dir cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_dir.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -o torture_sftp_dir ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 82%] Built target torture_sftp_dir /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_read.dir/build.make tests/client/CMakeFiles/torture_sftp_read.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_read.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_read.dir/build.make tests/client/CMakeFiles/torture_sftp_read.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 82%] Building C object tests/client/CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -MF CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o.d -o CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_read.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_read.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_read.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_read.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 83%] Linking C executable torture_sftp_read cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_read.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -o torture_sftp_read ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 83%] Built target torture_sftp_read /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_fsync.dir/build.make tests/client/CMakeFiles/torture_sftp_fsync.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_fsync.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_fsync.dir/build.make tests/client/CMakeFiles/torture_sftp_fsync.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 84%] Building C object tests/client/CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -MF CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o.d -o CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_fsync.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_fsync.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_fsync.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_fsync.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 84%] Linking C executable torture_sftp_fsync cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_fsync.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -o torture_sftp_fsync ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 84%] Built target torture_sftp_fsync /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_hardlink.dir/build.make tests/client/CMakeFiles/torture_sftp_hardlink.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_hardlink.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_hardlink.dir/build.make tests/client/CMakeFiles/torture_sftp_hardlink.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 84%] Building C object tests/client/CMakeFiles/torture_sftp_hardlink.dir/torture_sftp_hardlink.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_hardlink.dir/torture_sftp_hardlink.c.o -MF CMakeFiles/torture_sftp_hardlink.dir/torture_sftp_hardlink.c.o.d -o CMakeFiles/torture_sftp_hardlink.dir/torture_sftp_hardlink.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_hardlink.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_hardlink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_hardlink.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_hardlink.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 84%] Linking C executable torture_sftp_hardlink cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_hardlink.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_hardlink.dir/torture_sftp_hardlink.c.o -o torture_sftp_hardlink ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 84%] Built target torture_sftp_hardlink /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_limits.dir/build.make tests/client/CMakeFiles/torture_sftp_limits.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_limits.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_limits.dir/build.make tests/client/CMakeFiles/torture_sftp_limits.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 85%] Building C object tests/client/CMakeFiles/torture_sftp_limits.dir/torture_sftp_limits.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_limits.dir/torture_sftp_limits.c.o -MF CMakeFiles/torture_sftp_limits.dir/torture_sftp_limits.c.o.d -o CMakeFiles/torture_sftp_limits.dir/torture_sftp_limits.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:37: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c: In function ‘torture_sftp_limits’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:139:28: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:66:13: note: (1) entry to ‘torture_sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:73:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:73:10: note: (6) returning to ‘torture_sftp_limits’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:76:10: note: (7) calling ‘sftp_extension_supported’ from ‘torture_sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:608:5: note: (8) entry to ‘sftp_extension_supported’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:612:6: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:76:10: note: (11) returning to ‘torture_sftp_limits’ from ‘sftp_extension_supported’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:77:8: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:139:28: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_limits.c:139:28: note: (14) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] [ 85%] Linking C executable torture_sftp_limits cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_limits.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_limits.dir/torture_sftp_limits.c.o -o torture_sftp_limits ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 85%] Built target torture_sftp_limits /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_rename.dir/build.make tests/client/CMakeFiles/torture_sftp_rename.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_rename.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_rename.dir/build.make tests/client/CMakeFiles/torture_sftp_rename.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 85%] Building C object tests/client/CMakeFiles/torture_sftp_rename.dir/torture_sftp_rename.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_rename.dir/torture_sftp_rename.c.o -MF CMakeFiles/torture_sftp_rename.dir/torture_sftp_rename.c.o.d -o CMakeFiles/torture_sftp_rename.dir/torture_sftp_rename.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_rename.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_rename.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_rename.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_rename.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 85%] Linking C executable torture_sftp_rename cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_rename.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_rename.dir/torture_sftp_rename.c.o -o torture_sftp_rename ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 85%] Built target torture_sftp_rename /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_expand_path.dir/build.make tests/client/CMakeFiles/torture_sftp_expand_path.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_expand_path.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_expand_path.dir/build.make tests/client/CMakeFiles/torture_sftp_expand_path.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 86%] Building C object tests/client/CMakeFiles/torture_sftp_expand_path.dir/torture_sftp_expand_path.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_expand_path.dir/torture_sftp_expand_path.c.o -MF CMakeFiles/torture_sftp_expand_path.dir/torture_sftp_expand_path.c.o.d -o CMakeFiles/torture_sftp_expand_path.dir/torture_sftp_expand_path.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_expand_path.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_expand_path.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_expand_path.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_expand_path.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 86%] Linking C executable torture_sftp_expand_path cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_expand_path.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_expand_path.dir/torture_sftp_expand_path.c.o -o torture_sftp_expand_path ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 86%] Built target torture_sftp_expand_path /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_aio.dir/build.make tests/client/CMakeFiles/torture_sftp_aio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_aio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_aio.dir/build.make tests/client/CMakeFiles/torture_sftp_aio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 86%] Building C object tests/client/CMakeFiles/torture_sftp_aio.dir/torture_sftp_aio.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_aio.dir/torture_sftp_aio.c.o -MF CMakeFiles/torture_sftp_aio.dir/torture_sftp_aio.c.o.d -o CMakeFiles/torture_sftp_aio.dir/torture_sftp_aio.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:50, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:6: <--[csmock-gcc-wrapper] In function ‘sftp_get_new_id’, inlined from ‘sftp_open’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1048:10: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/sftp_priv.h:72:21: warning: dereference of NULL ‘sftp’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘sftp_open’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:202:13: note: (1) entry to ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (6) returning to ‘torture_sftp_aio_read_more_than_cap’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:218:12: note: (7) calling ‘sftp_open’ from ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1005:11: note: (8) entry to ‘sftp_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1021:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:356:24: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1026:5: note: in expansion of macro ‘ZERO_STRUCT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1030:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1032:23: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1032:15: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1037:8: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1039:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1039:8: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1041:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1041:8: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1043:16: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1043:8: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1046:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1048:10: note: (23) inlined call to ‘sftp_get_new_id’ from ‘sftp_open’ <--[csmock-gcc-wrapper] In function ‘sftp_get_new_id’, inlined from ‘sftp_open’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1048:10: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/sftp_priv.h:72:21: note: (24) dereference of NULL ‘sftp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_open’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1022:31: warning: dereference of NULL ‘sftp’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:202:13: note: (1) entry to ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (6) returning to ‘torture_sftp_aio_read_more_than_cap’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:218:12: note: (7) calling ‘sftp_open’ from ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1005:11: note: (8) entry to ‘sftp_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1021:8: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1022:31: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:1022:31: note: (11) dereference of NULL ‘sftp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_read_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:94:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:63:13: note: (1) entry to ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:92:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:92:10: note: (6) returning to ‘torture_sftp_aio_read_file’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:94:16: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:114:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:63:13: note: (1) entry to ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:92:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2829:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2829:8: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2837:14: note: (7) inlined call to ‘sftp_limits_new’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] In function ‘sftp_limits_new’, inlined from ‘sftp_limits’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2837:14: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2682:12: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘torture_sftp_aio_read_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2838:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2844:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:92:10: note: (11) returning to ‘torture_sftp_aio_read_file’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:112:17: note: (12) inlined call to ‘sftp_stat’ from ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] In function ‘sftp_stat’, inlined from ‘torture_sftp_aio_read_file’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:112:17: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3024:10: note: (13) calling ‘sftp_xstat’ from ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘torture_sftp_aio_read_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2945:24: note: (14) entry to ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2955:8: note: (15) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2959:8: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2959:8: note: (17) following ‘false’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2965:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2966:8: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2967:31: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:112:17: note: (21) inlined call to ‘sftp_stat’ from ‘torture_sftp_aio_read_file’ <--[csmock-gcc-wrapper] In function ‘sftp_stat’, inlined from ‘torture_sftp_aio_read_file’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:112:17: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3024:10: note: (22) returning to ‘torture_sftp_aio_read_file’ from ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_read_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:114:15: note: (23) dereference of NULL ‘sftp_xstat(*t.sftp, "/usr/bin/ssh", 17)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_read_more_than_cap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:223:35: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:202:13: note: (1) entry to ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2829:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:215:10: note: (6) returning to ‘torture_sftp_aio_read_more_than_cap’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:223:35: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_write_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:263:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:238:13: note: (1) entry to ‘torture_sftp_aio_write_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:261:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_write_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:261:10: note: (6) returning to ‘torture_sftp_aio_write_file’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:263:16: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_write_more_than_cap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:339:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:320:13: note: (1) entry to ‘torture_sftp_aio_write_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:336:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_write_more_than_cap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:336:10: note: (6) returning to ‘torture_sftp_aio_write_more_than_cap’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:339:18: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_read_negative’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:381:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:365:13: note: (1) entry to ‘torture_sftp_aio_read_negative’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:379:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_read_negative’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:379:10: note: (6) returning to ‘torture_sftp_aio_read_negative’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:381:16: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c: In function ‘torture_sftp_aio_write_negative’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:459:16: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:441:13: note: (1) entry to ‘torture_sftp_aio_write_negative’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:457:10: note: (2) calling ‘sftp_limits’ from ‘torture_sftp_aio_write_negative’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2821:15: note: (3) entry to ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2825:8: note: (4) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:457:10: note: (6) returning to ‘torture_sftp_aio_write_negative’ from ‘sftp_limits’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_aio.c:459:16: note: (7) dereference of NULL ‘sftp_limits(*t.sftp)’ <--[csmock-gcc-wrapper] [ 86%] Linking C executable torture_sftp_aio cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_aio.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_aio.dir/torture_sftp_aio.c.o -o torture_sftp_aio ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 86%] Built target torture_sftp_aio /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_home_directory.dir/build.make tests/client/CMakeFiles/torture_sftp_home_directory.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_home_directory.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_home_directory.dir/build.make tests/client/CMakeFiles/torture_sftp_home_directory.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 87%] Building C object tests/client/CMakeFiles/torture_sftp_home_directory.dir/torture_sftp_home_directory.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_home_directory.dir/torture_sftp_home_directory.c.o -MF CMakeFiles/torture_sftp_home_directory.dir/torture_sftp_home_directory.c.o.d -o CMakeFiles/torture_sftp_home_directory.dir/torture_sftp_home_directory.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_home_directory.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_home_directory.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:47, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_home_directory.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] [ 87%] Linking C executable torture_sftp_home_directory cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_home_directory.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_home_directory.dir/torture_sftp_home_directory.c.o -o torture_sftp_home_directory ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 87%] Built target torture_sftp_home_directory /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_setstat.dir/build.make tests/client/CMakeFiles/torture_sftp_setstat.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_setstat.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_setstat.dir/build.make tests/client/CMakeFiles/torture_sftp_setstat.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 87%] Building C object tests/client/CMakeFiles/torture_sftp_setstat.dir/torture_sftp_setstat.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_setstat.dir/torture_sftp_setstat.c.o -MF CMakeFiles/torture_sftp_setstat.dir/torture_sftp_setstat.c.o.d -o CMakeFiles/torture_sftp_setstat.dir/torture_sftp_setstat.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:47, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/sftp.h:42, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c: In function ‘torture_sftp_setstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:158:30: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:135:1: note: (1) entry to ‘torture_sftp_setstat_chown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:156:16: note: (2) inlined call to ‘sftp_stat’ from ‘torture_sftp_setstat_chown’ <--[csmock-gcc-wrapper] In function ‘sftp_stat’, inlined from ‘torture_sftp_setstat_chown’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:156:16: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3024:10: note: (3) calling ‘sftp_xstat’ from ‘torture_sftp_setstat_chown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘torture_sftp_setstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2945:24: note: (4) entry to ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2955:8: note: (5) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:156:16: note: (7) inlined call to ‘sftp_stat’ from ‘torture_sftp_setstat_chown’ <--[csmock-gcc-wrapper] In function ‘sftp_stat’, inlined from ‘torture_sftp_setstat_chown’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:156:16: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3024:10: note: (8) returning to ‘torture_sftp_setstat_chown’ from ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c: In function ‘torture_sftp_setstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:158:30: note: (9) dereference of NULL ‘sftp_xstat(*t.sftp, name, 17)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c: In function ‘torture_sftp_lsetstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:289:30: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:266:1: note: (1) entry to ‘torture_sftp_lsetstat_chown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:287:16: note: (2) inlined call to ‘sftp_lstat’ from ‘torture_sftp_lsetstat_chown’ <--[csmock-gcc-wrapper] In function ‘sftp_lstat’, inlined from ‘torture_sftp_lsetstat_chown’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:287:16: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3028:10: note: (3) calling ‘sftp_xstat’ from ‘torture_sftp_lsetstat_chown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘torture_sftp_lsetstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2945:24: note: (4) entry to ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:2955:8: note: (5) following ‘true’ branch (when ‘sftp’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:287:16: note: (7) inlined call to ‘sftp_lstat’ from ‘torture_sftp_lsetstat_chown’ <--[csmock-gcc-wrapper] In function ‘sftp_lstat’, inlined from ‘torture_sftp_lsetstat_chown’ at /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:287:16: /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:3028:10: note: (8) returning to ‘torture_sftp_lsetstat_chown’ from ‘sftp_xstat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c: In function ‘torture_sftp_lsetstat_chown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_setstat.c:289:30: note: (9) dereference of NULL ‘sftp_xstat(*t.sftp, name, 7)’ <--[csmock-gcc-wrapper] [ 88%] Linking C executable torture_sftp_setstat cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_setstat.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_setstat.dir/torture_sftp_setstat.c.o -o torture_sftp_setstat ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Built target torture_sftp_setstat /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_packet_read.dir/build.make tests/client/CMakeFiles/torture_sftp_packet_read.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_packet_read.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_packet_read.dir/build.make tests/client/CMakeFiles/torture_sftp_packet_read.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Building C object tests/client/CMakeFiles/torture_sftp_packet_read.dir/torture_sftp_packet_read.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_packet_read.dir/torture_sftp_packet_read.c.o -MF CMakeFiles/torture_sftp_packet_read.dir/torture_sftp_packet_read.c.o.d -o CMakeFiles/torture_sftp_packet_read.dir/torture_sftp_packet_read.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:47, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:10: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_free’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*sftp.read_packet’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:326:8: note: (1) following ‘false’ branch (when ‘sftp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:330:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:45: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:345:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:191: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:38: note: (7) pointer ‘*sftp.read_packet’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:15: note: in definition of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:13: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:346:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (10) pointer ‘*sftp.read_packet’ is checked for NULL here but it was already dereferenced at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:347:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c: In function ‘sftp_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: warning: leak of ‘tmp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:431:8: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:51: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:50:5: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:437:10: note: in expansion of macro ‘ssh_buffer_pack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:438:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:445:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:446:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/libssh.h:881:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:451:5: note: in expansion of macro ‘SSH_BUFFER_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:454:8: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:458:8: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/buffer.h:60:5: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:466:10: note: in expansion of macro ‘ssh_buffer_unpack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:467:8: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:475:5: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:479:15: note: (13) following ‘true’ branch (when ‘rc == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:480:30: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:484:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:269:5: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:488:9: note: in expansion of macro ‘SSH_LOG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (17) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:493:15: note: (18) when ‘realloc’ succeeds, moving buffer <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:494:12: note: (19) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:502:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:505:15: note: (21) when ‘realloc’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:506:12: note: (22) following ‘true’ branch (when ‘tmp’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:507:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:298:24: note: in definition of macro ‘ssh_set_error_oom’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:508:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:35: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:509:13: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:510:13: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/sftp.c:434:16: note: (28) ‘tmp’ leaks here; was allocated at (17) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c: In function ‘torture_sftp_packet_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:88:5: warning: use of uninitialized value ‘fds[0]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:80:9: note: (1) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:84:10: note: (2) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/client/torture_sftp_packet_read.c:88:5: note: (3) use of uninitialized value ‘fds[0]’ here <--[csmock-gcc-wrapper] [ 88%] Linking C executable torture_sftp_packet_read cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_packet_read.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftp_packet_read.dir/torture_sftp_packet_read.c.o -o torture_sftp_packet_read ../libtorture.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Built target torture_sftp_packet_read /usr/bin/gmake -f tests/external_override/CMakeFiles/chacha20_override.dir/build.make tests/external_override/CMakeFiles/chacha20_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override/CMakeFiles/chacha20_override.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/chacha20_override.dir/build.make tests/external_override/CMakeFiles/chacha20_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Building C object tests/external_override/CMakeFiles/chacha20_override.dir/chacha20_override.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dchacha20_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/chacha20_override.dir/chacha20_override.c.o -MF CMakeFiles/chacha20_override.dir/chacha20_override.c.o.d -o CMakeFiles/chacha20_override.dir/chacha20_override.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override/chacha20_override.c [ 88%] Building C object tests/external_override/CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dchacha20_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o -MF CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o.d -o CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c: In function ‘chacha_encrypt_bytes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:206:54: warning: dereference of NULL ‘ctarget’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:95:8: note: (1) following ‘false’ branch (when ‘bytes != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:97:8: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:115:12: note: (3) following ‘false’ branch (when ‘bytes > 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:137:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:137:23: note: (5) following ‘true’ branch (when ‘i != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:44:11: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:138:13: note: in expansion of macro ‘QUARTERROUND’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:205:16: note: (7) following ‘true’ branch (when ‘bytes != 64’)... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:206:30: note: (9) following ‘true’ branch (when ‘bytes > i’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:206:57: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:206:50: note: (11) ‘ctarget’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/chacha.c:206:54: note: (12) dereference of NULL ‘ctarget + (sizetype)i’ <--[csmock-gcc-wrapper] [ 88%] Linking C shared library ../../lib/libchacha20_override.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/chacha20_override.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libchacha20_override.so -o ../../lib/libchacha20_override.so CMakeFiles/chacha20_override.dir/chacha20_override.c.o CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Built target chacha20_override /usr/bin/gmake -f tests/external_override/CMakeFiles/poly1305_override.dir/build.make tests/external_override/CMakeFiles/poly1305_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override/CMakeFiles/poly1305_override.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/poly1305_override.dir/build.make tests/external_override/CMakeFiles/poly1305_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 88%] Building C object tests/external_override/CMakeFiles/poly1305_override.dir/poly1305_override.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dpoly1305_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/poly1305_override.dir/poly1305_override.c.o -MF CMakeFiles/poly1305_override.dir/poly1305_override.c.o.d -o CMakeFiles/poly1305_override.dir/poly1305_override.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override/poly1305_override.c [ 89%] Building C object tests/external_override/CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dpoly1305_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o -MF CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o.d -o CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/poly1305.c [ 89%] Linking C shared library ../../lib/libpoly1305_override.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/poly1305_override.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libpoly1305_override.so -o ../../lib/libpoly1305_override.so CMakeFiles/poly1305_override.dir/poly1305_override.c.o CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 89%] Built target poly1305_override /usr/bin/gmake -f tests/external_override/CMakeFiles/ed25519_override.dir/build.make tests/external_override/CMakeFiles/ed25519_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override/CMakeFiles/ed25519_override.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/ed25519_override.dir/build.make tests/external_override/CMakeFiles/ed25519_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 90%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/ed25519_override.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/ed25519_override.c.o -MF CMakeFiles/ed25519_override.dir/ed25519_override.c.o.d -o CMakeFiles/ed25519_override.dir/ed25519_override.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override/ed25519_override.c [ 90%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/fe25519.c [ 90%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/ge25519.c [ 90%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/sc25519.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/sc25519.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 91%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/ed25519.c [ 91%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getrandom_crypto.c [ 91%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/md_crypto.c [ 91%] Linking C shared library ../../lib/libed25519_override.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/ed25519_override.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libed25519_override.so -o ../../lib/libed25519_override.so CMakeFiles/ed25519_override.dir/ed25519_override.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 91%] Built target ed25519_override /usr/bin/gmake -f tests/external_override/CMakeFiles/curve25519_override.dir/build.make tests/external_override/CMakeFiles/curve25519_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override/CMakeFiles/curve25519_override.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/curve25519_override.dir/build.make tests/external_override/CMakeFiles/curve25519_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 91%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/curve25519_override.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/curve25519_override.c.o -MF CMakeFiles/curve25519_override.dir/curve25519_override.c.o.d -o CMakeFiles/curve25519_override.dir/curve25519_override.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override/curve25519_override.c [ 92%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/curve25519_ref.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/curve25519_ref.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 92%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/fe25519.c [ 92%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/ge25519.c [ 92%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/sc25519.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/sc25519.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 93%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/external/ed25519.c [ 93%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/getrandom_crypto.c [ 93%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src/md_crypto.c [ 93%] Linking C shared library ../../lib/libcurve25519_override.so cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/curve25519_override.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libcurve25519_override.so -o ../../lib/libcurve25519_override.so CMakeFiles/curve25519_override.dir/curve25519_override.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 93%] Built target curve25519_override /usr/bin/gmake -f tests/external_override/CMakeFiles/torture_override.dir/build.make tests/external_override/CMakeFiles/torture_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override/CMakeFiles/torture_override.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/torture_override.dir/build.make tests/external_override/CMakeFiles/torture_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 94%] Building C object tests/external_override/CMakeFiles/torture_override.dir/torture_override.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -DSHOULD_CALL_INTERNAL_CHACHAPOLY=0 -DSHOULD_CALL_INTERNAL_CURVE25519=0 -DSHOULD_CALL_INTERNAL_ED25519=0 -MD -MT tests/external_override/CMakeFiles/torture_override.dir/torture_override.c.o -MF CMakeFiles/torture_override.dir/torture_override.c.o.d -o CMakeFiles/torture_override.dir/torture_override.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/external_override/torture_override.c [ 94%] Linking C executable torture_override cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_override.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_override.dir/torture_override.c.o -o torture_override -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib ../../lib/libtorture_shared.so ../../lib/libchacha20_override.so ../../lib/libpoly1305_override.so ../../lib/libed25519_override.so ../../lib/libcurve25519_override.so /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -Wl,--wrap=chacha_keysetup -Wl,--wrap=chacha_ivsetup -Wl,--wrap=chacha_encrypt_bytes -Wl,--wrap=poly1305_auth -Wl,--wrap=crypto_sign_ed25519_keypair -Wl,--wrap=crypto_sign_ed25519 -Wl,--wrap=crypto_sign_ed25519_open -Wl,--wrap=crypto_scalarmult_base -Wl,--wrap=crypto_scalarmult gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 94%] Built target torture_override /usr/bin/gmake -f tests/pkd/CMakeFiles/pkd_hello.dir/build.make tests/pkd/CMakeFiles/pkd_hello.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd/CMakeFiles/pkd_hello.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/pkd/CMakeFiles/pkd_hello.dir/build.make tests/pkd/CMakeFiles/pkd_hello.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 94%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_daemon.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_daemon.c.o -MF CMakeFiles/pkd_hello.dir/pkd_daemon.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_daemon.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd/pkd_daemon.c [ 94%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_hello.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_hello.c.o -MF CMakeFiles/pkd_hello.dir/pkd_hello.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_hello.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd/pkd_hello.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd/pkd_hello.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [ 95%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o -MF CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd/pkd_keyutil.c [ 95%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_util.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_util.c.o -MF CMakeFiles/pkd_hello.dir/pkd_util.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_util.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/pkd/pkd_util.c [ 95%] Linking C executable pkd_hello cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/pkd && /usr/bin/cmake -E cmake_link_script CMakeFiles/pkd_hello.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/pkd_hello.dir/pkd_daemon.c.o CMakeFiles/pkd_hello.dir/pkd_hello.c.o CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o CMakeFiles/pkd_hello.dir/pkd_util.c.o -o pkd_hello /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 95%] Built target pkd_hello /usr/bin/gmake -f tests/server/test_server/CMakeFiles/testserver.dir/build.make tests/server/test_server/CMakeFiles/testserver.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server/CMakeFiles/testserver.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/test_server/CMakeFiles/testserver.dir/build.make tests/server/test_server/CMakeFiles/testserver.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 95%] Building C object tests/server/test_server/CMakeFiles/testserver.dir/test_server.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/server/test_server/CMakeFiles/testserver.dir/test_server.c.o -MF CMakeFiles/testserver.dir/test_server.c.o.d -o CMakeFiles/testserver.dir/test_server.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c: In function ‘run_server’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: warning: leak of FILE ‘fopen(*state.log_file, "a")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:91:8: note: (1) following ‘false’ branch (when ‘state’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:97:19: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:101:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:107:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:110:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (9) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (10) assuming ‘fopen(*state.log_file, "a")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:124:14: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: note: (13) ‘fopen(*state.log_file, "a")’ leaks here; was opened at (9) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: warning: leak of ‘fopen(*state.log_file, "a")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:91:8: note: (1) following ‘false’ branch (when ‘state’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:97:19: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:101:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:107:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:110:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (10) assuming ‘fopen(*state.log_file, "a")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:124:14: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: note: (13) ‘fopen(*state.log_file, "a")’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:131:12: warning: leak of FILE ‘fopen(*state.log_file, "a")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:91:8: note: (1) following ‘false’ branch (when ‘state’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:97:19: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:101:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:107:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:110:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (9) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (10) assuming ‘fopen(*state.log_file, "a")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:124:14: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: note: (13) following ‘false’ branch (when ‘fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:130:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:131:12: note: (15) ‘fopen(*state.log_file, "a")’ leaks here; was opened at (9) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:131:12: warning: leak of ‘fopen(*state.log_file, "a")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:91:8: note: (1) following ‘false’ branch (when ‘state’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:97:19: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:101:8: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:107:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:110:8: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:117:8: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:119:19: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (10) assuming ‘fopen(*state.log_file, "a")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:120:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:124:14: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:125:12: note: (13) following ‘false’ branch (when ‘fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:130:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/test_server.c:131:12: note: (15) ‘fopen(*state.log_file, "a")’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] [ 95%] Building C object tests/server/test_server/CMakeFiles/testserver.dir/default_cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/server/test_server/CMakeFiles/testserver.dir/default_cb.c.o -MF CMakeFiles/testserver.dir/default_cb.c.o.d -o CMakeFiles/testserver.dir/default_cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/default_cb.c [ 95%] Building C object tests/server/test_server/CMakeFiles/testserver.dir/sftpserver_cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT tests/server/test_server/CMakeFiles/testserver.dir/sftpserver_cb.c.o -MF CMakeFiles/testserver.dir/sftpserver_cb.c.o.d -o CMakeFiles/testserver.dir/sftpserver_cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/sftpserver_cb.c [ 95%] Linking C static library libtestserver.a cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -P CMakeFiles/testserver.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/testserver.dir/link.txt --verbose=1 /usr/bin/ar qc libtestserver.a CMakeFiles/testserver.dir/test_server.c.o CMakeFiles/testserver.dir/default_cb.c.o CMakeFiles/testserver.dir/sftpserver_cb.c.o /usr/bin/ranlib libtestserver.a gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 95%] Built target testserver /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_default.dir/build.make tests/server/CMakeFiles/torture_server_default.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_server_default.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_default.dir/build.make tests/server/CMakeFiles/torture_server_default.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Building C object tests/server/CMakeFiles/torture_server_default.dir/torture_server_default.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_default.dir/torture_server_default.c.o -MF CMakeFiles/torture_server_default.dir/torture_server_default.c.o.d -o CMakeFiles/torture_server_default.dir/torture_server_default.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_server_default.c [ 96%] Linking C executable torture_server_default cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_default.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_server_default.dir/torture_server_default.c.o -o torture_server_default ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Built target torture_server_default /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build.make tests/server/CMakeFiles/torture_server_auth_kbdint.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_server_auth_kbdint.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build.make tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Building C object tests/server/CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -MF CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o.d -o CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_server_auth_kbdint.c [ 96%] Linking C executable torture_server_auth_kbdint cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_auth_kbdint.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -o torture_server_auth_kbdint ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Built target torture_server_auth_kbdint /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_config.dir/build.make tests/server/CMakeFiles/torture_server_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_server_config.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_config.dir/build.make tests/server/CMakeFiles/torture_server_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Building C object tests/server/CMakeFiles/torture_server_config.dir/torture_server_config.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_config.dir/torture_server_config.c.o -MF CMakeFiles/torture_server_config.dir/torture_server_config.c.o.d -o CMakeFiles/torture_server_config.dir/torture_server_config.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_server_config.c [ 96%] Linking C executable torture_server_config cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_config.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_server_config.dir/torture_server_config.c.o -o torture_server_config ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Built target torture_server_config /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_algorithms.dir/build.make tests/server/CMakeFiles/torture_server_algorithms.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_server_algorithms.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_algorithms.dir/build.make tests/server/CMakeFiles/torture_server_algorithms.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 96%] Building C object tests/server/CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -MF CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o.d -o CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_server_algorithms.c [ 97%] Linking C executable torture_server_algorithms cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_algorithms.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -o torture_server_algorithms ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 97%] Built target torture_server_algorithms /usr/bin/gmake -f tests/server/CMakeFiles/torture_sftpserver.dir/build.make tests/server/CMakeFiles/torture_sftpserver.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_sftpserver.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_sftpserver.dir/build.make tests/server/CMakeFiles/torture_sftpserver.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 97%] Building C object tests/server/CMakeFiles/torture_sftpserver.dir/torture_sftpserver.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_sftpserver.dir/torture_sftpserver.c.o -MF CMakeFiles/torture_sftpserver.dir/torture_sftpserver.c.o.d -o CMakeFiles/torture_sftpserver.dir/torture_sftpserver.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c In file included from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/torture.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c:34: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c: In function ‘session_teardown’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: warning: check of ‘*s.ssh.tsftp’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c:342:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c:340:27: note: (1) pointer ‘*s.ssh.tsftp’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:32: note: in definition of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include/libssh/priv.h:353:30: note: (2) pointer ‘*s.ssh.tsftp’ is checked for NULL here but it was already dereferenced at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_sftpserver.c:342:5: note: in expansion of macro ‘SAFE_FREE’ <--[csmock-gcc-wrapper] [ 97%] Linking C executable torture_sftpserver cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftpserver.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_sftpserver.dir/torture_sftpserver.c.o -o torture_sftpserver ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 97%] Built target torture_sftpserver /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_auth.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_auth.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_gssapi_server_auth.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_auth.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_auth.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 97%] Building C object tests/server/CMakeFiles/torture_gssapi_server_auth.dir/torture_gssapi_server_auth.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_gssapi_server_auth.dir/torture_gssapi_server_auth.c.o -MF CMakeFiles/torture_gssapi_server_auth.dir/torture_gssapi_server_auth.c.o.d -o CMakeFiles/torture_gssapi_server_auth.dir/torture_gssapi_server_auth.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_gssapi_server_auth.c [ 98%] Linking C executable torture_gssapi_server_auth cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_gssapi_server_auth.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_gssapi_server_auth.dir/torture_gssapi_server_auth.c.o -o torture_gssapi_server_auth ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 98%] Built target torture_gssapi_server_auth /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 98%] Building C object tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/torture_gssapi_server_auth_cb.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_gssapi_server_auth_cb.dir/torture_gssapi_server_auth_cb.c.o -MF CMakeFiles/torture_gssapi_server_auth_cb.dir/torture_gssapi_server_auth_cb.c.o.d -o CMakeFiles/torture_gssapi_server_auth_cb.dir/torture_gssapi_server_auth_cb.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_gssapi_server_auth_cb.c [ 98%] Linking C executable torture_gssapi_server_auth_cb cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_gssapi_server_auth_cb.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_gssapi_server_auth_cb.dir/torture_gssapi_server_auth_cb.c.o -o torture_gssapi_server_auth_cb ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 98%] Built target torture_gssapi_server_auth_cb /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/build.make tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 98%] Building C object tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/torture_gssapi_server_delegation.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_gssapi_server_delegation.dir/torture_gssapi_server_delegation.c.o -MF CMakeFiles/torture_gssapi_server_delegation.dir/torture_gssapi_server_delegation.c.o.d -o CMakeFiles/torture_gssapi_server_delegation.dir/torture_gssapi_server_delegation.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/torture_gssapi_server_delegation.c [ 99%] Linking C executable torture_gssapi_server_delegation cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_gssapi_server_delegation.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/torture_gssapi_server_delegation.dir/torture_gssapi_server_delegation.c.o -o torture_gssapi_server_delegation ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 99%] Built target torture_gssapi_server_delegation /usr/bin/gmake -f tests/server/test_server/CMakeFiles/test_server.dir/build.make tests/server/test_server/CMakeFiles/test_server.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server/CMakeFiles/test_server.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/gmake -f tests/server/test_server/CMakeFiles/test_server.dir/build.make tests/server/test_server/CMakeFiles/test_server.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [ 99%] Building C object tests/server/test_server/CMakeFiles/test_server.dir/main.c.o cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/lib64/cscppc/gcc -DOPENSSH_VERSION_MAJOR=9 -DOPENSSH_VERSION_MINOR=9 -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/src -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/include -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests -I/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIE -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wold-style-definition -Werror=old-style-definition -Wimplicit-int -Werror=implicit-int -Wint-conversion -Werror=int-conversion -Werror=unused-variable -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/test_server/CMakeFiles/test_server.dir/main.c.o -MF CMakeFiles/test_server.dir/main.c.o.d -o CMakeFiles/test_server.dir/main.c.o -c /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/tests/server/test_server/main.c [100%] Linking C executable test_server cd /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_server.dir/link.txt --verbose=1 /usr/lib64/cscppc/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/test_server.dir/main.c.o -o test_server -Wl,-rpath,/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/lib libtestserver.a ../../../lib/libssh.so.4.10.1 -lutil gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' [100%] Built target test_server gmake[1]: Leaving directory '/builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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/libssh.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-13 01:54:56 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-13 01:54:57 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--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' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' 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 -bi --nodeps --short-circuit /builddir/build/SPECS/libssh.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' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --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'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' 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 -bi --nodeps --short-circuit /builddir/build/SPECS/libssh.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'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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 -bi --nodeps --short-circuit /builddir/build/SPECS/libssh.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\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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 -bi --nodeps --short-circuit /builddir/build/SPECS/libssh.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\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1724976000 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.luRIUE + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + '[' /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libssh-0.11.1-build + mkdir /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libssh-0.11.1 + DESTDIR=/builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/pkgconfig/libssh.pc -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/cmake/libssh/libssh-config-version.cmake -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/callbacks.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/libssh.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/ssh2.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/legacy.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/libsshpp.hpp -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/sftp.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/server.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/sftpserver.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/include/libssh/libssh_version.h -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/libssh.so.4.10.1 -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/libssh.so.4 -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/libssh.so -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/cmake/libssh/libssh-config.cmake -- Installing: /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64/cmake/libssh/libssh-config-noconfig.cmake + install -d -m755 /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/etc/libssh + install -m644 /builddir/build/SOURCES/libssh_client.config /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/etc/libssh/libssh_client.config + install -m644 /builddir/build/SOURCES/libssh_server.config /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/etc/libssh/libssh_server.config + pushd /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64 ~/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/lib64 ~/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 + for i in libssh.so* + _target=libssh.so + _link_name=libssh_threads.so + '[' -L libssh.so ']' ++ readlink libssh.so + _target=libssh.so.4 + ln -s libssh.so.4 libssh_threads.so + for i in libssh.so* + _target=libssh.so.4 + _link_name=libssh_threads.so.4 + '[' -L libssh.so.4 ']' ++ readlink libssh.so.4 + _target=libssh.so.4.10.1 + ln -s libssh.so.4.10.1 libssh_threads.so.4 + for i in libssh.so* + _target=libssh.so.4.10.1 + _link_name=libssh_threads.so.4.10.1 + '[' -L libssh.so.4.10.1 ']' + ln -s libssh.so.4.10.1 libssh_threads.so.4.10.1 + popd ~/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 + /usr/bin/find-debuginfo -j1 --strict-build-id -m -i --build-id-seed 0.11.1-1.fc42 --unique-debug-suffix -0.11.1-1.fc42.x86_64 --unique-debug-src-base libssh-0.11.1-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libssh-0.11.1-1.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j1 /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT Scanned 24 directories and 132 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libssh-0.11.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libssh-0.11.1-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fa6W9P + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + cd libssh-0.11.1 + DOCDIR=/builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + cp -pr /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/AUTHORS /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + cp -pr /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/BSD /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + cp -pr /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/CHANGELOG /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + cp -pr /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/README /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/doc/libssh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QsbZMe + umask 022 + cd /builddir/build/BUILD/libssh-0.11.1-build + cd libssh-0.11.1 + LICENSEDIR=/builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/licenses/libssh + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/licenses/libssh + cp -pr /builddir/build/BUILD/libssh-0.11.1-build/libssh-0.11.1/COPYING /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT/usr/share/licenses/libssh + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh = 0.11.1-1.fc42 libssh(x86-64) = 0.11.1-1.fc42 libssh.so.4()(64bit) libssh.so.4(LIBSSH_4_10_0)(64bit) libssh.so.4(LIBSSH_4_5_0)(64bit) libssh.so.4(LIBSSH_4_6_0)(64bit) libssh.so.4(LIBSSH_4_7_0)(64bit) libssh.so.4(LIBSSH_4_8_0)(64bit) libssh.so.4(LIBSSH_4_8_1)(64bit) libssh.so.4(LIBSSH_4_9_0)(64bit) libssh_threads.so.4()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Recommends: crypto-policies Processing files: libssh-devel-0.11.1-1.fc42.x86_64 Provides: cmake(libssh) = 0.11.1 libssh-devel = 0.11.1-1.fc42 libssh-devel(x86-64) = 0.11.1-1.fc42 pkgconfig(libssh) = 0.11.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(x86-64) libssh.so.4()(64bit) Processing files: libssh-config-0.11.1-1.fc42.noarch Provides: config(libssh-config) = 0.11.1-1.fc42 libssh-config = 0.11.1-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: libssh < 0.9.0-3 Processing files: libssh-debugsource-0.11.1-1.fc42.x86_64 Provides: libssh-debugsource = 0.11.1-1.fc42 libssh-debugsource(x86-64) = 0.11.1-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libssh-debuginfo-0.11.1-1.fc42.x86_64 Provides: debuginfo(build-id) = 23d7853ff1e1fd1a873c2ea63fe71fa6293d3abf libssh-debuginfo = 0.11.1-1.fc42 libssh-debuginfo(x86-64) = 0.11.1-1.fc42 libssh.so.4.10.1-0.11.1-1.fc42.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libssh-debugsource(x86-64) = 0.11.1-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libssh-0.11.1-build/BUILDROOT 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\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' 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 -bi --nodeps --short-circuit /builddir/build/SPECS/libssh.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\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 01:54:59 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts... done >>> 2024-11-13 01:55:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-13 01:55:04 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-13 01:55:05 cat '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 01:55:05 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 01:55:05 cd /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 01:55:05 csgrep --mode=json '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 01:55:05 scan.ini: exit-code = 0 >>> 2024-11-13 01:55:05 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan.ini' '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/uni-results'/* > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 01:55:06 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/scan-results-all.js' >'/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 01:55:07 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-13 01:55:09 cat '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\.c$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.js' >>> 2024-11-13 01:55:09 cat '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.js' - | cssort > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 01:55:10 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.js' > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 01:55:10 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 01:55:10 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 01:55:10 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.js' > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.err' >>> 2024-11-13 01:55:10 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.html' >>> 2024-11-13 01:55:10 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results.js' | tee '/tmp/csmockcmqo6kuo/libssh-0.11.1-1.fc42/scan-results-summary.txt' 130 COMPILER_WARNING warning[-Wdeprecated-declarations] 1 COMPILER_WARNING warning[-Wunused-result] 1 CPPCHECK_WARNING error[uninitvar] 1 CPPCHECK_WARNING warning[nullPointer] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-deref-before-check] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-double-close] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-without-check] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak] 23 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 7 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 28 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-unsafe-call-within-signal-handler] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] <<< 2024-11-13 01:55:10 csmock exit code: 0