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/tmp4sq4suy9/libssh2-1.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/tmp4sq4suy9/libssh2-1.11.1-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-40.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmp4sq4suy9/libssh2-1.11.1-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 01:54:07 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = libssh2-1.11.1-1.fc42 >>> 2024-11-13 01:54:07 rpm -qa | sort -V > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 01:54:07 "/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:54:09 "/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729036800 Wrote: /builddir/build/SRPMS/libssh2-1.11.1-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 438.3 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 6.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "coreutils-9.5-10.fc42.x86_64" is already installed. Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed. Package "pkgconf-pkg-config-2.3.0-1.fc42.x86_64" is already installed. Package "sed-4.9-3.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB glibc-langpack-en x86_64 2.40.9000-16.fc42 fedora 5.7 MiB gnupg2 x86_64 2.4.5-3.fc41 fedora 9.5 MiB groff x86_64 1.23.0-7.fc41 fedora 4.4 MiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB man-db x86_64 2.13.0-1.fc42 fedora 2.8 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 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-filesystem x86_64 3.30.5-1.fc42 fedora 0.0 B 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 expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB 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 groff-base x86_64 1.23.0-7.fc41 fedora 3.8 MiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB less x86_64 668-1.fc42 fedora 406.4 KiB libassuan x86_64 2.5.7-2.fc41 fedora 163.8 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 libksba x86_64 1.6.7-2.fc41 fedora 398.4 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libpipeline x86_64 1.5.8-1.fc42 fedora 149.1 KiB libseccomp x86_64 2.5.5-2.fc41 fedora 173.3 KiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB nettle x86_64 3.10-3.fc41 fedora 793.0 KiB npth x86_64 1.7-2.fc41 fedora 49.6 KiB openssh x86_64 9.9p1-5.fc42 fedora 1.4 MiB 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 Transaction Summary: Installing: 38 packages Total size of inbound packages is 74 MiB. Need to download 0 B. After this operation, 213 MiB extra will be used (install 213 MiB, remove 0 B). [1/1] gcc-0:14.2.1-6.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] glibc-langpack-en-0:2.40.9000-16. 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] gnupg2-0:2.4.5-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] groff-0:1.23.0-7.fc41.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] make-1:4.4.1-9.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] openssh-server-0:9.9p1-5.fc42.x86 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] openssl-devel-1:3.2.2-8.fc42.x86_ 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] zlib-ng-compat-devel-0:2.2.2-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] gnutls-0:3.8.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] libassuan-0:2.5.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] libgcrypt-0:1.11.0-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] libgpg-error-0:1.50-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] libksba-0:1.6.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] npth-0:1.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] tpm2-tss-0:4.1.3-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] groff-base-0:1.23.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] openssh-0:9.9p1-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] cmake-filesystem-0:3.30.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] nettle-0:3.10-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] man-db-0:2.13.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] less-0:668-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] libpipeline-0:1.5.8-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] systemd-0:257~rc1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] dbus-1:1.14.10-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] libseccomp-0:2.5.5-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] systemd-pam-0:257~rc1-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] dbus-broker-0:36-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] dbus-common-1:1.14.10-4.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] glibc-devel-0:2.40.9000-16.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] libxcrypt-devel-0:4.4.36-10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] kernel-headers-0:6.12.0-0.rc7.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] annobin-plugin-gcc-0:12.70-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] gcc-plugin-annobin-0:14.2.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] annobin-docs-0:12.70-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] systemd-rpm-macros-0:257~rc1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/40] Verify package files 100% | 152.0 B/s | 38.0 B | 00m00s [ 2/40] Prepare transaction 100% | 542.0 B/s | 38.0 B | 00m00s [ 3/40] Installing libgpg-error-0:1.50- 100% | 51.4 MiB/s | 895.4 KiB | 00m00s [ 4/40] Installing groff-base-0:1.23.0- 100% | 124.9 MiB/s | 3.9 MiB | 00m00s [ 5/40] Installing libmpc-0:1.3.1-6.fc4 100% | 27.0 MiB/s | 166.2 KiB | 00m00s [ 6/40] Installing cpp-0:14.2.1-6.fc42. 100% | 301.5 MiB/s | 35.0 MiB | 00m00s [ 7/40] Installing libassuan-0:2.5.7-2. 100% | 40.4 MiB/s | 165.6 KiB | 00m00s [ 8/40] Installing libgcrypt-0:1.11.0-4 100% | 193.8 MiB/s | 1.6 MiB | 00m00s [ 9/40] Installing libksba-0:1.6.7-2.fc 100% | 78.3 MiB/s | 401.0 KiB | 00m00s [10/40] Installing annobin-docs-0:12.70 100% | 13.8 MiB/s | 98.8 KiB | 00m00s [11/40] Installing kernel-headers-0:6.1 100% | 104.7 MiB/s | 6.6 MiB | 00m00s [12/40] Installing libxcrypt-devel-0:4. 100% | 6.4 MiB/s | 32.9 KiB | 00m00s [13/40] Installing glibc-devel-0:2.40.9 100% | 72.8 MiB/s | 2.3 MiB | 00m00s [14/40] Installing expat-0:2.6.4-1.fc42 100% | 56.2 MiB/s | 287.6 KiB | 00m00s [15/40] Installing dbus-common-1:1.14.1 100% | 376.4 KiB/s | 13.6 KiB | 00m00s [16/40] Installing dbus-broker-0:36-4.f 100% | 31.4 MiB/s | 385.3 KiB | 00m00s [17/40] Installing dbus-1:1.14.10-4.fc4 100% | 121.1 KiB/s | 124.0 B | 00m00s [18/40] Installing libseccomp-0:2.5.5-2 100% | 57.0 MiB/s | 175.2 KiB | 00m00s [19/40] Installing systemd-pam-0:257~rc 100% | 101.3 MiB/s | 1.1 MiB | 00m00s [20/40] Installing systemd-0:257~rc1-2. 100% | 91.0 MiB/s | 17.6 MiB | 00m00s [21/40] Installing libpipeline-0:1.5.8- 100% | 29.4 MiB/s | 150.6 KiB | 00m00s [22/40] Installing less-0:668-1.fc42.x8 100% | 44.5 MiB/s | 409.7 KiB | 00m00s [23/40] Installing nettle-0:3.10-3.fc41 100% | 129.6 MiB/s | 796.1 KiB | 00m00s [24/40] Installing gnutls-0:3.8.8-1.fc4 100% | 180.5 MiB/s | 3.2 MiB | 00m00s [25/40] Installing cmake-filesystem-0:3 100% | 1.0 MiB/s | 7.3 KiB | 00m00s [26/40] Installing openssh-0:9.9p1-5.fc 100% | 36.3 MiB/s | 1.4 MiB | 00m00s [27/40] Installing tpm2-tss-0:4.1.3-3.f 100% | 112.9 MiB/s | 1.6 MiB | 00m00s [28/40] Installing npth-0:1.7-2.fc41.x8 100% | 16.5 MiB/s | 50.7 KiB | 00m00s [29/40] Installing make-1:4.4.1-9.fc42. 100% | 120.0 MiB/s | 1.8 MiB | 00m00s [30/40] Installing gcc-0:14.2.1-6.fc42. 100% | 334.3 MiB/s | 104.3 MiB | 00m00s [31/40] Installing annobin-plugin-gcc-0 100% | 56.7 MiB/s | 987.3 KiB | 00m00s [32/40] Installing gcc-plugin-annobin-0 100% | 3.9 MiB/s | 59.2 KiB | 00m00s [33/40] Installing gnupg2-0:2.4.5-3.fc4 100% | 128.9 MiB/s | 9.5 MiB | 00m00s [34/40] Installing openssh-server-0:9.9 100% | 74.6 MiB/s | 1.4 MiB | 00m00s [35/40] Installing zlib-ng-compat-devel 100% | 7.1 MiB/s | 108.3 KiB | 00m00s [36/40] Installing man-db-0:2.13.0-1.fc 100% | 67.3 MiB/s | 2.9 MiB | 00m00s [37/40] Installing groff-0:1.23.0-7.fc4 100% | 133.2 MiB/s | 4.4 MiB | 00m00s [38/40] Installing systemd-rpm-macros-0 100% | 1.1 MiB/s | 11.2 KiB | 00m00s [39/40] Installing openssl-devel-1:3.2. 100% | 27.4 MiB/s | 5.2 MiB | 00m00s [40/40] Installing glibc-langpack-en-0: 100% | 2.3 MiB/s | 5.8 MiB | 00m03s Complete! >>> 2024-11-13 01:54:18 "/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% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 12.0 KiB/s | 1.5 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: libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB pcre x86_64 8.45-1.fc41.7 fedora 545.8 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 tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB Transaction Summary: Installing: 11 packages Total size of inbound packages is 89 MiB. Need to download 0 B. After this operation, 370 MiB extra will be used (install 370 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 [1/6] python3-0:3.13.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] python3-libs-0:3.13.0-1.fc42.x86_ 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] libb2-0:0.98.1-12.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 [1/9] mpdecimal-0:2.5.1-16.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] python-pip-wheel-0:24.2-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/13] Verify package files 100% | 32.0 B/s | 11.0 B | 00m00s [ 2/13] Prepare transaction 100% | 207.0 B/s | 11.0 B | 00m00s [ 3/13] Installing tzdata-0:2024a-9.fc4 100% | 31.3 MiB/s | 1.9 MiB | 00m00s [ 4/13] Installing python-pip-wheel-0:2 100% | 248.3 MiB/s | 1.2 MiB | 00m00s [ 5/13] Installing mpdecimal-0:2.5.1-16 100% | 67.1 MiB/s | 206.0 KiB | 00m00s [ 6/13] Installing libb2-0:0.98.1-12.fc 100% | 6.0 MiB/s | 43.3 KiB | 00m00s [ 7/13] Installing python3-libs-0:3.13. 100% | 231.4 MiB/s | 40.7 MiB | 00m00s [ 8/13] Installing python3-0:3.13.0-1.f 100% | 8.2 MiB/s | 33.5 KiB | 00m00s [ 9/13] Installing tinyxml2-0:9.0.0-5.f 100% | 34.2 MiB/s | 104.9 KiB | 00m00s [10/13] Installing pcre-0:8.45-1.fc41.7 100% | 89.2 MiB/s | 548.1 KiB | 00m00s [11/13] Installing cppcheck-0:2.16.0-1. 100% | 315.0 MiB/s | 10.4 MiB | 00m00s [12/13] Installing ShellCheck-0:0.10.0- 100% | 264.1 MiB/s | 20.6 MiB | 00m00s [13/13] Installing gcc-latest-0:15.0.0- 100% | 106.8 MiB/s | 295.4 MiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 01:54:24 '/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:54:25 '/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/csmockifo2rgnv/rpm-list-mock-provides.txt >>> 2024-11-13 01:54:26 "/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42.src.rpm" "/builddir/libssh2-1.11.1-1.fc42.src.rpm" >>> 2024-11-13 01:54: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" "chown mockbuild -R /builddir" >>> 2024-11-13 01:54:28 "/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/libssh2-1.11.1-1.fc42.src.rpm'\"" Updating / installing... libssh2-1.11.1-1.fc42 ######################################## >>> 2024-11-13 01:54:29 "/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/libssh2.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/libssh2-1.11.1-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1729036800 Wrote: /builddir/build/SRPMS/libssh2-1.11.1-1.fc42.src.rpm renamed 'libssh2-1.11.1-1.fc42.src.rpm' -> '/builddir/libssh2-1.11.1-1.fc42.src.rpm' >>> 2024-11-13 01:54:30 "/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/libssh2-1.11.1-1.fc42.src.rpm" "/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42.src.rpm" >>> 2024-11-13 01:54:32 "/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729036800 Wrote: /builddir/build/SRPMS/libssh2-1.11.1-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 11.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "man-db-2.13.0-1.fc42.x86_64" is already installed. Package "coreutils-9.5-10.fc42.x86_64" is already installed. Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "glibc-langpack-en-2.40.9000-16.fc42.x86_64" is already installed. Package "gnupg2-2.4.5-3.fc41.x86_64" is already installed. Package "groff-1.23.0-7.fc41.x86_64" is already installed. Package "make-1:4.4.1-9.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 "pkgconf-pkg-config-2.3.0-1.fc42.x86_64" is already installed. Package "sed-4.9-3.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:54:35 "/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% | 438.3 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 11.3 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:54:36 '/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:54:37 '/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/csmockifo2rgnv/rpm-list-mock-provides.txt >>> 2024-11-13 01:54:39 "/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: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 5.0 KiB/s | 1.5 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% | 208.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% | 7.2 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% | 31.2 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 01:54:41 "/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: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 12.1 KiB/s | 1.5 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 libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB 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: 9 packages Total size of inbound packages is 105 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 [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 27.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 360.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 52.8 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 60.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 354.6 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 402.2 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 322.8 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 24.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 159.3 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 302.7 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 4.9 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 01:54: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-magic" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 11.9 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% | 125.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 608.5 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 01:54:49 "/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% | 11.9 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% | 142.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 3.7 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 01:54:50 '/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:54:51 '/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/csmockifo2rgnv/rpm-list-mock-provides.txt >>> 2024-11-13 01:54: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" "chown mockbuild -R /builddir" >>> 2024-11-13 01:54:54 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/csmockifo2rgnv/libssh2-1.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:54: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" "/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:54: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" "/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:54: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" "/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: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" "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: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" "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:55:02 "/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42.src.rpm'" Updating / installing... libssh2-1.11.1-1.fc42 ######################################## >>> 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" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 01:55:05 "/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 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:55: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 \"rpmbuild -bp --nodeps /builddir/build/SPECS/libssh2.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/libssh2.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/libssh2.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/libssh2.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1729036800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jsBhyI + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + test -d /builddir/build/BUILD/libssh2-1.11.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libssh2-1.11.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libssh2-1.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XJ0Bti + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/mykey.asc --signature=/builddir/build/SOURCES/libssh2-1.11.1.tar.gz.asc --data=/builddir/build/SOURCES/libssh2-1.11.1.tar.gz gpgv: Signature made Wed Oct 16 08:03:37 2024 UTC gpgv: using RSA key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 gpgv: Good signature from "Daniel Stenberg " + cd /builddir/build/BUILD/libssh2-1.11.1-build + rm -rf libssh2-1.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libssh2-1.11.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh2-1.11.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/4711/4764/ tests/openssh_fixture.c tests/test_ssh2.c tests/test_sshd.test + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libssh2.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 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" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 01:55:08 "/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/libssh2.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/libssh2.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/libssh2.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/libssh2.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=1729036800 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qNWraA + umask 022 + cd /builddir/build/BUILD/libssh2-1.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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 libssh2-1.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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-10-16 08:03:21.000000000 +0000 +++ ./configure 2024-11-13 01:55:09.567247650 +0000 @@ -9290,7 +9290,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -27381,7 +27381,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --disable-silent-rules --disable-static --enable-shared --disable-docker-tests checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for sed... /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking libssh2 version... 1.11.1 checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... no checking if _REENTRANT is onwards defined... no checking for library containing socket... none required checking for library containing inet_addr... none required checking for x86_64-redhat-linux-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sshd... /usr/sbin/sshd checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9296: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether byte ordering is bigendian... no checking for x86_64-redhat-linux-windres... no checking for windres... no checking for windows.h... no checking for gcc option to enable large file support... none needed checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for libssl... yes checking how to link with libssl... /usr/lib64/libssl.so /usr/lib64/libcrypto.so checking for libz... yes checking how to link with libz... /usr/lib64/libz.so checking whether to enable compiler warnings as errors... no checking whether to enable pedantic and debug compiler options... checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E checking if cpp -P is needed... yes checking if cpp -P works... yes no checking whether to enable hidden symbols in the library... no checking whether to build example applications... yes checking for errno.h... yes checking for fcntl.h... yes checking for stdio.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/uio.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/un.h... yes checking for poll... yes checking for gettimeofday... yes checking for select... yes checking for strtoll... yes checking for explicit_bzero... yes checking for explicit_memset... no checking for memset_s... no checking for snprintf... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking non-blocking sockets style... O_NONBLOCK checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/ossfuzz/Makefile config.status: creating example/Makefile config.status: creating docs/Makefile config.status: creating libssh2.pc config.status: creating src/libssh2_config.h config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: version: 1.11.1 Host type: x86_64-redhat-linux-gnu Install prefix: /usr Compiler: gcc Compiler flags: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer Library types: Shared=yes, Static=no Crypto library: OpenSSL WinCNG ECDSA: no zlib compression: yes Clear memory: yes Deprecated APIs: yes Debug build: no Build examples: yes Run Docker tests: no Run sshd tests: yes Path to sshd: /usr/sbin/sshd (only for self-tests) + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o cipher-chachapoly.lo cipher-chachapoly.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c cipher-chachapoly.c -fPIC -DPIC -o .libs/cipher-chachapoly.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o crypt.lo crypt.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c crypt.c -fPIC -DPIC -o .libs/crypt.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o comp.lo comp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c comp.c -fPIC -DPIC -o .libs/comp.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/comp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o global.lo global.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c global.c -fPIC -DPIC -o .libs/global.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o keepalive.lo keepalive.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c keepalive.c -fPIC -DPIC -o .libs/keepalive.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o chacha.lo chacha.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c chacha.c -fPIC -DPIC -o .libs/chacha.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/chacha.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o hostkey.lo hostkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c hostkey.c -fPIC -DPIC -o .libs/hostkey.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/hostkey.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o agent.lo agent.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c agent.c -fPIC -DPIC -o .libs/agent.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c: In function 'agent_connect_unix': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:195:7: warning: leak of file descriptor 'socket(1, 1, 0)' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:186:17: note: (1) stream socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:186:17: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:187:7: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:191:21: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:192:5: note: (5) when 'strncpy' copies the full source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/agent.c:195:7: note: (6) 'socket(1, 1, 0)' leaks here <--[csmock-gcc-wrapper] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mac.lo mac.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mac.c -fPIC -DPIC -o .libs/mac.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c misc.c -fPIC -DPIC -o .libs/misc.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c: In function 'libssh2_base64_decode': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:371:20: warning: use of uninitialized value 'dlen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:361:1: note: (1) entry to 'libssh2_base64_decode' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:366:12: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:366:12: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:368:10: note: (4) calling '_libssh2_base64_decode' from 'libssh2_base64_decode' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:380:5: note: (5) entry to '_libssh2_base64_decode' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:392:16: note: (6) calling '_libssh2_error' from '_libssh2_base64_decode' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:123:5: note: (7) entry to '_libssh2_error' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:125:12: note: (8) calling '_libssh2_error_flags' from '_libssh2_error' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:81:5: note: (9) entry to '_libssh2_error_flags' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:84:7: note: (10) following 'false' branch (when 'session' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:90:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:96:7: note: (12) following 'true' branch (when 'errmsg' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:96:29: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:96:15: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:109:26: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:125:12: note: (16) returning to '_libssh2_error' from '_libssh2_error_flags' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:392:16: note: (17) returning to '_libssh2_base64_decode' from '_libssh2_error' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:368:10: note: (18) returning to 'libssh2_base64_decode' from '_libssh2_base64_decode' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:370:7: note: (19) following 'true' branch (when 'datalen' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:371:20: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/misc.c:371:20: note: (21) use of uninitialized value 'dlen' here <--[csmock-gcc-wrapper] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o packet.lo packet.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c packet.c -fPIC -DPIC -o .libs/packet.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o poly1305.lo poly1305.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c poly1305.c -fPIC -DPIC -o .libs/poly1305.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o channel.lo channel.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c channel.c -fPIC -DPIC -o .libs/channel.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/channel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o knownhost.lo knownhost.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c knownhost.c -fPIC -DPIC -o .libs/knownhost.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/knownhost.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pem.lo pem.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pem.c -fPIC -DPIC -o .libs/pem.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/pem.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o publickey.lo publickey.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c publickey.c -fPIC -DPIC -o .libs/publickey.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/publickey.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o scp.lo scp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c scp.c -fPIC -DPIC -o .libs/scp.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.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/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c: In function 'scp_recv': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:18: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:842:1: note: (1) entry to 'libssh2_scp_recv2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:280:1: note: (2) entry to 'scp_recv' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:18: note: (3) infinite loop here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:18: note: (4) when 'sb' is non-NULL: always following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:18: note: (6) if it ever follows 'true' branch, it will always do so... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:411:23: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:411:15: note: (8) if it ever follows 'false' branch, it will always do so... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:574:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:574:15: note: (10) if it ever follows 'false' branch, it will always do so... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here cc1: note: (12) looping back... /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:407:18: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:608:22: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:842:1: note: (1) entry to 'libssh2_scp_recv2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:280:1: note: (2) entry to 'scp_recv' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:608:22: note: (3) infinite loop here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:608:45: note: (4) if it ever follows 'true' branch, it will always do so... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:609:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:611:15: note: (6) if it ever follows 'false' branch, it will always do so... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:738:23: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:738:15: note: (8) if it ever follows 'false' branch, it will always do so... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here cc1: note: (10) looping back... /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/scp.c:608:22: note: (11) ...to here <--[csmock-gcc-wrapper] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o session.lo session.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c session.c -fPIC -DPIC -o .libs/session.o /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.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/libssh2-1.11.1-build/libssh2-1.11.1/src/session.c:482: error: returnDanglingLifetime(CWE-562): Returning pointer to local variable 'abstract' that will be invalid when returning. <--[cppcheck] make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o userauth_kbd_packet.lo userauth_kbd_packet.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c userauth_kbd_packet.c -fPIC -DPIC -o .libs/userauth_kbd_packet.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o version.lo version.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c version.c -fPIC -DPIC -o .libs/version.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o transport.lo transport.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c transport.c -fPIC -DPIC -o .libs/transport.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c: In function '_libssh2_transport_read': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:583:21: warning: use of uninitialized value '&block' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:366:5: note: (1) entry to '_libssh2_transport_read' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:378:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:378:19: note: (3) capacity: 32 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:419:7: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:427:11: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:431:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:440:11: note: (8) following 'true' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:45: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1063:29: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:441:16: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1062:62: note: (10) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:441:16: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:442:49: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:449:57: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:459:22: note: (13) ...to here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:49: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:462:9: note: (14) following 'true' branch (when 'remainbuf >= 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:464:22: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:487:15: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:509:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:525:45: note: (18) following 'true' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:531:15: note: (20) following 'false' branch (when 'remainbuf >= required_size')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:541:15: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:541:15: note: (22) following 'false' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:20: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:20: note: (24) following 'true' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:49: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:31: note: (26) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:575:52: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:575:26: note: (28) calling 'decrypt' from '_libssh2_transport_read' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:129:1: note: (29) entry to 'decrypt' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:141:15: note: (30) following 'false' branch (when 'len <= 0')... <--[csmock-gcc-wrapper] cc1: note: (31) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:575:26: note: (32) returning to '_libssh2_transport_read' from 'decrypt' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:577:23: note: (33) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:583:29: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:583:21: note: (35) use of uninitialized value '&block' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:628:44: warning: dereference of NULL 'remote_mac' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:419:7: note: (1) following 'false' branch... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:427:11: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:431:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:440:11: note: (5) following 'true' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1063:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:441:16: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1062:62: note: (7) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:441:16: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:442:49: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:449:57: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:459:22: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:462:9: note: (11) following 'true' branch (when 'remainbuf >= 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:464:22: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:518:11: note: (13) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:525:45: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:525:45: note: (15) following 'true' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:531:15: note: (17) following 'false' branch (when 'remainbuf >= required_size')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:541:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:541:15: note: (19) following 'false' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:20: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:546:20: note: (21) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:547:30: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:557:19: note: (23) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:566:21: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:600:15: note: (25) following 'false' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1062:55: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:600:31: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:601:19: note: (27) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:604:24: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:604:24: note: (29) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:608:19: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:608:19: note: (31) following 'false' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:620:46: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:621:23: note: (33) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:628:54: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:628:54: note: (35) following 'true' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:628:44: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:628:44: note: (37) dereference of NULL 'remote_mac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c: In function '_libssh2_transport_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1241:21: warning: dereference of NULL 'local_mac' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1039:7: note: (1) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1042:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1044:7: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1048:25: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1050:7: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1063:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1051:9: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1062:62: note: (7) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1051:9: note: in expansion of macro 'CRYPT_FLAG_R' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1052:40: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1058:51: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1060:32: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1099:11: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1105:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1126:32: note: (13) following 'false' branch (when 'etm == 0')... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1155:70: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1155:23: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1166:7: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1171:7: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1171:7: note: (19) following 'true' branch (when 'encrypted != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1180:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1180:11: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1059:54: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1189:12: note: in expansion of macro 'CRYPT_FLAG_L' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:1059:61: note: (23) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1189:12: note: in expansion of macro 'CRYPT_FLAG_L' <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1240:15: note: (25) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1241:21: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/transport.c:1241:21: note: (27) dereference of NULL 'local_mac' <--[csmock-gcc-wrapper] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o crypto.lo crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c crypto.c -fPIC -DPIC -o .libs/crypto.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o kex.lo kex.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c kex.c -fPIC -DPIC -o .libs/kex.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.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/libssh2-1.11.1-build/libssh2-1.11.1/src/kex.c:2091: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/kex.c:2094: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/kex.c:2097: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o userauth.lo userauth.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c userauth.c -fPIC -DPIC -o .libs/userauth.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c: In function 'sign_fromfile': <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:888:18: warning: dereference of NULL 'privkeyobj' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:2047:1: note: (1) entry to 'libssh2_userauth_publickey_fromfile_ex' <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:52: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:2062:18: note: (2) calling 'userauth_publickey_fromfile' from 'libssh2_userauth_publickey_fromfile_ex' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/session.h:59:18: note: in definition of macro 'BLOCK_ADJUST' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1966:1: note: (3) entry to 'userauth_publickey_fromfile' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:2004:10: note: (4) calling '_libssh2_userauth_publickey' from 'userauth_publickey_fromfile' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1516:1: note: (5) entry to '_libssh2_userauth_publickey' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1536:7: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1648:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1728:7: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:42: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/libssh2_priv.h:218:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1733:19: note: in expansion of macro 'LIBSSH2_ALLOC' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1735:11: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1742:35: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:1748:14: note: (12) calling 'sign_fromfile' from '_libssh2_userauth_publickey' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:867:1: note: (13) entry to 'sign_fromfile' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:876:10: note: (14) calling 'file_read_privatekey' from 'sign_fromfile' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:781:1: note: (15) entry to 'file_read_privatekey' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:792:21: note: (16) 'privkeyobj' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:803:9: note: (17) 'privkeyobj' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:803:7: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:804:16: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:876:10: note: (20) returning to 'sign_fromfile' from 'file_read_privatekey' <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:881:7: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:885:22: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:888:18: note: (23) 'privkeyobj' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/userauth.c:888:18: note: (24) dereference of NULL 'privkeyobj' <--[csmock-gcc-wrapper] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp.lo sftp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sftp.c -fPIC -DPIC -o .libs/sftp.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/sftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o bcrypt_pbkdf.lo bcrypt_pbkdf.c libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c bcrypt_pbkdf.c -fPIC -DPIC -o .libs/bcrypt_pbkdf.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src/bcrypt_pbkdf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -version-info 1:1:0 -no-undefined -export-symbols-regex '^libssh2_.*' -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 -o libssh2.la -rpath /usr/lib64 agent.lo bcrypt_pbkdf.lo channel.lo comp.lo chacha.lo cipher-chachapoly.lo crypt.lo crypto.lo global.lo hostkey.lo keepalive.lo kex.lo knownhost.lo mac.lo misc.lo packet.lo pem.lo poly1305.lo publickey.lo scp.lo session.lo sftp.lo transport.lo userauth.lo userauth_kbd_packet.lo version.lo -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: /usr/bin/nm -B .libs/agent.o .libs/bcrypt_pbkdf.o .libs/channel.o .libs/comp.o .libs/chacha.o .libs/cipher-chachapoly.o .libs/crypt.o .libs/crypto.o .libs/global.o .libs/hostkey.o .libs/keepalive.o .libs/kex.o .libs/knownhost.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/pem.o .libs/poly1305.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/transport.o .libs/userauth.o .libs/userauth_kbd_packet.o .libs/version.o | /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libssh2.exp libtool: link: /usr/bin/grep -E -e "^libssh2_.*" ".libs/libssh2.exp" > ".libs/libssh2.expT" libtool: link: mv -f ".libs/libssh2.expT" ".libs/libssh2.exp" libtool: link: echo "{ global:" > .libs/libssh2.ver libtool: link: cat .libs/libssh2.exp | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libssh2.ver libtool: link: echo "local: *; };" >> .libs/libssh2.ver libtool: link: gcc -shared -fPIC -DPIC .libs/agent.o .libs/bcrypt_pbkdf.o .libs/channel.o .libs/comp.o .libs/chacha.o .libs/cipher-chachapoly.o .libs/crypt.o .libs/crypto.o .libs/global.o .libs/hostkey.o .libs/keepalive.o .libs/kex.o .libs/knownhost.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/pem.o .libs/poly1305.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/transport.o .libs/userauth.o .libs/userauth_kbd_packet.o .libs/version.o -L/usr/lib64 -lssl -lcrypto -lz -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -Wl,-soname -Wl,libssh2.so.1 -Wl,-version-script -Wl,.libs/libssh2.ver -o .libs/libssh2.so.1.0.1 libtool: link: (cd ".libs" && rm -f "libssh2.so.1" && ln -s "libssh2.so.1.0.1" "libssh2.so.1") libtool: link: (cd ".libs" && rm -f "libssh2.so" && ln -s "libssh2.so.1.0.1" "libssh2.so") libtool: link: ( cd ".libs" && rm -f "libssh2.la" && ln -s "../libssh2.la" "libssh2.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' Making all in docs make[1]: Nothing to be done for 'all'. Making all in tests Making all in ossfuzz make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in example make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o scp.o scp.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp.c:163:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 163 | write(1, mem, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o scp_write.o scp_write.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_append.o sftp_append.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_append.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp.o sftp.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:278:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 278 | write(1, mem, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c: In function ‘kbd_callback’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:73:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 73 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c: In function ‘kbd_callback’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:83:9: warning: use of possibly-NULL ‘*responses.text’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:67:18: note: (1) following ‘true’ branch (when ‘i < num_prompts’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:68:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:79:29: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:83:9: note: (4) argument 1 (‘*.text’) from (3) could be NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:34: <--[csmock-gcc-wrapper] /usr/include/stdio.h:735:15: note: argument 1 of ‘fwrite’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:83:9: warning: use of possibly-NULL ‘*.text’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:67:18: note: (1) following ‘true’ branch (when ‘i < num_prompts’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:68:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:67:18: note: (3) following ‘true’ branch (when ‘i < num_prompts’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:68:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:79:29: note: (5) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp.c:83:9: note: (6) argument 1 (‘*.text’) from (5) could be NULL where non-null expected <--[csmock-gcc-wrapper] /usr/include/stdio.h:735:15: note: argument 1 of ‘fwrite’ must be non-null <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o scp_nonblock.o scp_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_nonblock.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_nonblock.c:255:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 255 | write(1, mem, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_RW_nonblock.o sftp_RW_nonblock.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_RW_nonblock.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_RW_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_RW_nonblock.c:245:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 245 | write(2, mem, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_mkdir_nonblock.o sftp_mkdir_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_mkdir_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o direct_tcpip.o direct_tcpip.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/direct_tcpip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_mkdir.o sftp_mkdir.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_mkdir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o scp_write_nonblock.o scp_write_nonblock.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:9: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /bmake[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' uilddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:212:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:213:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:212:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:213:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:226:11: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:232:18: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:242:15: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:243:17: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (25) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:124:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:129:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:130:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:140:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:141:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:146:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:149:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:155:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:156:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:162:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:169:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:179:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:181:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:182:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:190:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:226:11: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:232:18: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:242:15: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:243:17: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/scp_write_nonblock.c:135:5: note: (25) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_nonblock.o sftp_nonblock.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_nonblock.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_nonblock.c:267:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 267 | write(1, mem, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_write.o sftp_write.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_write_nonblock.o sftp_write_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:14: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:195:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:212:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:216:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:217:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:195:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:212:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:216:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:217:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:195:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:212:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:130:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:135:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:136:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:145:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:146:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:151:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:154:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:160:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:161:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:167:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:174:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:184:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:186:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:195:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:212:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_nonblock.c:187:60: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftpdir_nonblock.o sftpdir_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftpdir_nonblock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ssh2.o ssh2.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/ssh2.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftpdir.o sftpdir.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftpdir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sftp_write_sliding.o sftp_write_sliding.c /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:14: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (19) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:196:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:213:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:217:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:218:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:196:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:213:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:217:11: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:218:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (23) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of FILE ‘fopen(loclfile, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/builmake[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ssh2_agent.o ssh2_agent.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ssh2_agent_forwarding.o ssh2_agent_forwarding.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' d/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:196:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:213:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: warning: leak of ‘fopen(loclfile, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:131:7: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:136:13: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (4) assuming ‘fopen(loclfile, "rb")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:137:7: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:146:12: note: (7) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:147:7: note: (8) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:152:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:8: note: (10) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:155:7: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/include/libssh2.h:649:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:161:15: note: in expansion of macro ‘libssh2_session_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:162:7: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:168:5: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:175:7: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:185:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:187:18: note: (17) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:196:11: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:213:5: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/sftp_write_sliding.c:188:60: note: (21) ‘fopen(loclfile, "rb")’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/ssh2_agent_forwarding.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ssh2_exec.o ssh2_exec.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o subsystem_netconf.o subsystem_netconf.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tcpip-forward.o tcpip-forward.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11.o x11.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' gcc -DHAVE_CONFIG_H -I../src -I../src -I../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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ssh2_echo.o ssh2_echo.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o scp scp.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/scp scp.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o direct_tcpip direct_tcpip.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/direct_tcpip direct_tcpip.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o scp_nonblock scp_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/scp_nonblock scp_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o scp_write scp_write.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/scp_write scp_write.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o scp_write_nonblock scp_write_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/scp_write_nonblock scp_write_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_append sftp_append.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_append sftp_append.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_mkdir sftp_mkdir.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_mkdir sftp_mkdir.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp sftp.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp sftp.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_RW_nonblock sftp_RW_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_RW_nonblock sftp_RW_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_write sftp_write.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_write sftp_write.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_nonblock sftp_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_nonblock sftp_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_write_nonblock sftp_write_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_write_nonblock sftp_write_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/ssh2_exec.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/subsystem_netconf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/tcpip-forward.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c: In function ‘x11_send_receive’: <--[gcc] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c: In function ‘remove_node’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:71:23: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:71:23: note: (1) infinite loop here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:71:11: note: (2) if it ever follows ‘true’ branch, it will always do so... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:72:11: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:72:11: note: (4) if it ever follows ‘false’ branch, it will always do so... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here cc1: note: (6) looping back... /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:71:23: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c: In function ‘x11_callback’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:170:39: warning: dereference of possibly-NULL ‘gp_x11_chan’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:141:7: note: (1) following ‘true’ branch (when ‘display’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:142:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:147:15: note: (3) following ‘false’ branch (when ‘temp_buff’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:151:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:155:20: note: (5) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:156:15: note: (6) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:158:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:162:18: note: (8) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:164:15: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:166:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:166:19: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:169:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:169:25: note: (13) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:170:39: note: (14) ‘calloc(1, 24)’ could be NULL: unchecked value from (13) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:181:31: warning: dereference of possibly-NULL ‘new’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:141:7: note: (1) following ‘true’ branch (when ‘display’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:142:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:147:15: note: (3) following ‘false’ branch (when ‘temp_buff’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:151:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:155:20: note: (5) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:156:15: note: (6) following ‘false’ branch (when ‘sock != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:158:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:162:18: note: (8) when ‘connect’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:164:15: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:166:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:166:19: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:180:25: note: (13) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:181:31: note: (14) ‘new’ could be NULL: unchecked value from (13) <--[csmock-gcc-wrapper] /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/x11.c:242:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 242 | write(sock, buf, (size_t)nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example/ssh2_echo.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] + RPM_EC=0 ++ jobs -p + exit 0 make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftpdir_nonblock sftpdir_nonblock.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftpdir_nonblock sftpdir_nonblock.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftp_write_sliding sftp_write_sliding.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftp_write_sliding sftp_write_sliding.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o sftpdir sftpdir.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/sftpdir sftpdir.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o ssh2_agent ssh2_agent.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/ssh2_agent ssh2_agent.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o ssh2 ssh2.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/ssh2 ssh2.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o ssh2_agent_forwarding ssh2_agent_forwarding.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/ssh2_agent_forwarding ssh2_agent_forwarding.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o ssh2_echo ssh2_echo.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/ssh2_echo ssh2_echo.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o ssh2_exec ssh2_exec.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/ssh2_exec ssh2_exec.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o subsystem_netconf subsystem_netconf.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/subsystem_netconf subsystem_netconf.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o x11 x11.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/x11 x11.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' /bin/sh ../libtool --tag=CC --mode=link 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -o tcpip-forward tcpip-forward.o ../src/libssh2.la -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz libtool: link: 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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 -o .libs/tcpip-forward tcpip-forward.o ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Nothing to be done for 'all-am'. 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/libssh2.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:55:35 "/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:55:36 "/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/libssh2.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/libssh2.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/libssh2.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/libssh2.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=1729036800 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.meUINN + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + '[' /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build + mkdir /builddir/build/BUILD/libssh2-1.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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -DOPENSSL_NO_ENGINE -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 libssh2-1.11.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' /usr/bin/mkdir -p '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install install -p libssh2.la '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64' libtool: install: install -p .libs/libssh2.so.1.0.1 /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64/libssh2.so.1.0.1 libtool: install: (cd /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so.1 || { rm -f libssh2.so.1 && ln -s libssh2.so.1.0.1 libssh2.so.1; }; }) libtool: install: (cd /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so || { rm -f libssh2.so && ln -s libssh2.so.1.0.1 libssh2.so; }; }) libtool: install: install -p .libs/libssh2.lai /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64/libssh2.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' install -p -m 644 libssh2_agent_connect.3 libssh2_agent_disconnect.3 libssh2_agent_free.3 libssh2_agent_get_identity.3 libssh2_agent_get_identity_path.3 libssh2_agent_init.3 libssh2_agent_list_identities.3 libssh2_agent_set_identity_path.3 libssh2_agent_sign.3 libssh2_agent_userauth.3 libssh2_banner_set.3 libssh2_base64_decode.3 libssh2_channel_close.3 libssh2_channel_direct_streamlocal_ex.3 libssh2_channel_direct_tcpip.3 libssh2_channel_direct_tcpip_ex.3 libssh2_channel_eof.3 libssh2_channel_exec.3 libssh2_channel_flush.3 libssh2_channel_flush_ex.3 libssh2_channel_flush_stderr.3 libssh2_channel_forward_accept.3 libssh2_channel_forward_cancel.3 libssh2_channel_forward_listen.3 libssh2_channel_forward_listen_ex.3 libssh2_channel_free.3 libssh2_channel_get_exit_signal.3 libssh2_channel_get_exit_status.3 libssh2_channel_handle_extended_data.3 libssh2_channel_handle_extended_data2.3 libssh2_channel_ignore_extended_data.3 libssh2_channel_open_ex.3 libssh2_channel_open_session.3 libssh2_channel_process_startup.3 libssh2_channel_read.3 libssh2_channel_read_ex.3 libssh2_channel_read_stderr.3 libssh2_channel_receive_window_adjust.3 libssh2_channel_receive_window_adjust2.3 libssh2_channel_request_auth_agent.3 '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' install -p -m 644 libssh2_channel_request_pty.3 libssh2_channel_request_pty_ex.3 libssh2_channel_request_pty_size.3 libssh2_channel_request_pty_size_ex.3 libssh2_channel_send_eof.3 libssh2_channel_set_blocking.3 libssh2_channel_setenv.3 libssh2_channel_setenv_ex.3 libssh2_channel_shell.3 libssh2_channel_signal_ex.3 libssh2_channel_subsystem.3 libssh2_channel_wait_closed.3 libssh2_channel_wait_eof.3 libssh2_channel_window_read.3 libssh2_channel_window_read_ex.3 libssh2_channel_window_write.3 libssh2_channel_window_write_ex.3 libssh2_channel_write.3 libssh2_channel_write_ex.3 libssh2_channel_write_stderr.3 libssh2_channel_x11_req.3 libssh2_channel_x11_req_ex.3 libssh2_crypto_engine.3 libssh2_exit.3 libssh2_free.3 libssh2_hostkey_hash.3 libssh2_init.3 libssh2_keepalive_config.3 libssh2_keepalive_send.3 libssh2_knownhost_add.3 libssh2_knownhost_addc.3 libssh2_knownhost_check.3 libssh2_knownhost_checkp.3 libssh2_knownhost_del.3 libssh2_knownhost_free.3 libssh2_knownhost_get.3 libssh2_knownhost_init.3 libssh2_knownhost_readfile.3 libssh2_knownhost_readline.3 libssh2_knownhost_writefile.3 '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' install -p -m 644 libssh2_knownhost_writeline.3 libssh2_poll.3 libssh2_poll_channel_read.3 libssh2_publickey_add.3 libssh2_publickey_add_ex.3 libssh2_publickey_init.3 libssh2_publickey_list_fetch.3 libssh2_publickey_list_free.3 libssh2_publickey_remove.3 libssh2_publickey_remove_ex.3 libssh2_publickey_shutdown.3 libssh2_scp_recv.3 libssh2_scp_recv2.3 libssh2_scp_send.3 libssh2_scp_send64.3 libssh2_scp_send_ex.3 libssh2_session_abstract.3 libssh2_session_banner_get.3 libssh2_session_banner_set.3 libssh2_session_block_directions.3 libssh2_session_callback_set.3 libssh2_session_callback_set2.3 libssh2_session_disconnect.3 libssh2_session_disconnect_ex.3 libssh2_session_flag.3 libssh2_session_free.3 libssh2_session_get_blocking.3 libssh2_session_get_read_timeout.3 libssh2_session_get_timeout.3 libssh2_session_handshake.3 libssh2_session_hostkey.3 libssh2_session_init.3 libssh2_session_init_ex.3 libssh2_session_last_errno.3 libssh2_session_last_error.3 libssh2_session_method_pref.3 libssh2_session_methods.3 libssh2_session_set_blocking.3 libssh2_session_set_last_error.3 libssh2_session_set_read_timeout.3 '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' install -p -m 644 libssh2_session_set_timeout.3 libssh2_session_startup.3 libssh2_session_supported_algs.3 libssh2_sftp_close.3 libssh2_sftp_close_handle.3 libssh2_sftp_closedir.3 libssh2_sftp_fsetstat.3 libssh2_sftp_fstat.3 libssh2_sftp_fstat_ex.3 libssh2_sftp_fstatvfs.3 libssh2_sftp_fsync.3 libssh2_sftp_get_channel.3 libssh2_sftp_init.3 libssh2_sftp_last_error.3 libssh2_sftp_lstat.3 libssh2_sftp_mkdir.3 libssh2_sftp_mkdir_ex.3 libssh2_sftp_open.3 libssh2_sftp_open_ex.3 libssh2_sftp_open_ex_r.3 libssh2_sftp_open_r.3 libssh2_sftp_opendir.3 libssh2_sftp_posix_rename.3 libssh2_sftp_posix_rename_ex.3 libssh2_sftp_read.3 libssh2_sftp_readdir.3 libssh2_sftp_readdir_ex.3 libssh2_sftp_readlink.3 libssh2_sftp_realpath.3 libssh2_sftp_rename.3 libssh2_sftp_rename_ex.3 libssh2_sftp_rewind.3 libssh2_sftp_rmdir.3 libssh2_sftp_rmdir_ex.3 libssh2_sftp_seek.3 libssh2_sftp_seek64.3 libssh2_sftp_setstat.3 libssh2_sftp_shutdown.3 libssh2_sftp_stat.3 libssh2_sftp_stat_ex.3 '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' install -p -m 644 libssh2_sftp_statvfs.3 libssh2_sftp_symlink.3 libssh2_sftp_symlink_ex.3 libssh2_sftp_tell.3 libssh2_sftp_tell64.3 libssh2_sftp_unlink.3 libssh2_sftp_unlink_ex.3 libssh2_sftp_write.3 libssh2_sign_sk.3 libssh2_trace.3 libssh2_trace_sethandler.3 libssh2_userauth_authenticated.3 libssh2_userauth_banner.3 libssh2_userauth_hostbased_fromfile.3 libssh2_userauth_hostbased_fromfile_ex.3 libssh2_userauth_keyboard_interactive.3 libssh2_userauth_keyboard_interactive_ex.3 libssh2_userauth_list.3 libssh2_userauth_password.3 libssh2_userauth_password_ex.3 libssh2_userauth_publickey.3 libssh2_userauth_publickey_fromfile.3 libssh2_userauth_publickey_fromfile_ex.3 libssh2_userauth_publickey_frommemory.3 libssh2_userauth_publickey_sk.3 libssh2_version.3 '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' Making install in ossfuzz make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests/ossfuzz' make[3]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests/ossfuzz' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests/ossfuzz' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests/ossfuzz' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/tests' Making install in example make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/include' install -p -m 644 include/libssh2.h include/libssh2_publickey.h include/libssh2_sftp.h '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64/pkgconfig' install -p -m 644 libssh2.pc '/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1' + find /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT -name '*.la' -delete + make -C example clean make: Entering directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' rm -rf .libs _libs rm -f direct_tcpip scp scp_nonblock scp_write scp_write_nonblock sftp sftp_RW_nonblock sftp_append sftp_mkdir sftp_mkdir_nonblock sftp_nonblock sftp_write sftp_write_nonblock sftp_write_sliding sftpdir sftpdir_nonblock ssh2 ssh2_agent ssh2_agent_forwarding ssh2_echo ssh2_exec subsystem_netconf tcpip-forward x11 rm -f *.o rm -f *.lo make: Leaving directory '/builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example' + find example/ -type f '(' -name '*.am' -o -name '*.in' -o -name CMakeLists.txt ')' -print -delete example/CMakeLists.txt example/Makefile.am example/Makefile.in + sed -i -e 's|-L/usr/lib64 ||g' -e 's|-L[$]{libdir} ||g' /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/lib64/pkgconfig/libssh2.pc + mv -v example example.x86_64 renamed 'example' -> 'example.x86_64' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.11.1-1.fc42 --unique-debug-suffix -1.11.1-1.fc42.x86_64 --unique-debug-src-base libssh2-1.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/libssh2-1.11.1-build/libssh2-1.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/libssh2-1.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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT Scanned 17 directories and 241 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libssh2-1.11.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libssh2-1.11.1-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iyVYzq + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + cd libssh2-1.11.1 + DOCDIR=/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2 + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs/AUTHORS /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2 + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/README /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2 + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/RELEASE-NOTES /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MEUgov + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + cd libssh2-1.11.1 + LICENSEDIR=/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/licenses/libssh2 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/licenses/libssh2 + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/COPYING /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/licenses/libssh2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh2 = 1.11.1-1.fc42 libssh2(x86-64) = 1.11.1-1.fc42 libssh2.so.1()(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.16)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libssh2-devel-1.11.1-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JDC9pj + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + cd libssh2-1.11.1 + DOCDIR=/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-devel + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/example.x86_64 /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh2-devel = 1.11.1-1.fc42 libssh2-devel(x86-64) = 1.11.1-1.fc42 pkgconfig(libssh2) = 1.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 libssh2.so.1()(64bit) pkgconfig(libcrypto) pkgconfig(zlib) Processing files: libssh2-docs-1.11.1-1.fc42.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UWmpwY + umask 022 + cd /builddir/build/BUILD/libssh2-1.11.1-build + cd libssh2-1.11.1 + DOCDIR=/builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs/BINDINGS.md /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs/HACKING.md /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/docs/TODO /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + cp -pr /builddir/build/BUILD/libssh2-1.11.1-build/libssh2-1.11.1/NEWS /builddir/build/BUILD/libssh2-1.11.1-build/BUILDROOT/usr/share/doc/libssh2-docs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh2-docs = 1.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: libssh2-debugsource-1.11.1-1.fc42.x86_64 Provides: libssh2-debugsource = 1.11.1-1.fc42 libssh2-debugsource(x86-64) = 1.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: libssh2-debuginfo-1.11.1-1.fc42.x86_64 Provides: debuginfo(build-id) = 131be73713b0adb10167fd365499fbd3adf5a964 libssh2-debuginfo = 1.11.1-1.fc42 libssh2-debuginfo(x86-64) = 1.11.1-1.fc42 libssh2.so.1.0.1-1.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: libssh2-debugsource(x86-64) = 1.11.1-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libssh2-1.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/libssh2.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:55:38 "/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:39 "/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:42 '/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/csmockifo2rgnv/libssh2-1.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:43 cat '/tmp/csmockifo2rgnv/libssh2-1.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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 01:55:43 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 01:55:43 cd /tmp/csmockifo2rgnv/libssh2-1.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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 01:55:43 csgrep --mode=json '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 01:55:43 scan.ini: exit-code = 0 >>> 2024-11-13 01:55:43 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan.ini' '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/uni-results'/* > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 01:55:43 '/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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/scan-results-all.js' >'/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 01:55:44 "/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:46 cat '/tmp/csmockifo2rgnv/libssh2-1.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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.js' >>> 2024-11-13 01:55:46 cat '/tmp/csmockifo2rgnv/libssh2-1.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/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.js' - | cssort > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 01:55:47 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.js' > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 01:55:47 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 01:55:47 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 01:55:47 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.js' > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.err' >>> 2024-11-13 01:55:47 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.html' >>> 2024-11-13 01:55:47 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results.js' | tee '/tmp/csmockifo2rgnv/libssh2-1.11.1-1.fc42/scan-results-summary.txt' 7 COMPILER_WARNING warning[-Wunused-result] 3 CPPCHECK_WARNING error[autoVariables] 1 CPPCHECK_WARNING error[returnDanglingLifetime] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 11 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-infinite-loop] 11 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] <<< 2024-11-13 01:55:47 csmock exit code: 0